x
<html>
<head>
<title>CSS tutorial</title>
<style type="text/css">
div {
margin: 40px;
border:2px dashed #222;
}
p {
margin-top:20px;
margin-left:5%;
}
</style>
</head>
<body>
<div>
<p>This is the content of the page. Margin top is 20px and left is 5%.<br />
The containing box area has margins equally set to 40px.</p>
</div>
</body>
</html>
Comments
No comments have been made yet.
Please login to leave a comment. Login now