<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"[URL unfurl="true"]http://www.w3.org/TR/html4/loose.dtd">[/URL]
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
body {
color:blue;
margin:10px 0px 0px 5px;
}
.box_center {
margin:auto;
width:300px;
height:300px;
border:3px solid orange;
clear:both;
}
.box_1 {
color:red;
background-color:#FFFFCC;
float:left;
width:100px;
height:150px;
border:3px solid blue;
text-align:left;
margin:10px 10px 0px 0px;
padding:0px 0px 0px 5px;
}
.box_2 {
color:#00FF00;
background-color:#99CCCC;
float:left;
width:100px;
height:150px;
border:3px solid gray;
text-align:center;
margin:10px 10px 0px 0px;
padding:0px 0px 0px 5px;
}
.box_3 {
color:#FFFFCC;
background-color:#99CC33;
float:left;
width:100px;
height:150px;
border:3px solid black;
text-align:right;
margin:10px 10px 0px 0px;
padding:0px 5px 0px 0px;
}
.box_4 {
color:red;
background-color:yellow;
float:left;
width:100px;
height:150px;
border:3px solid red;
text-align:center;
margin:10px 10px 0px 0px;
font-weight: bold;
font-variant: small-caps;
padding:0px 0px 0px 0px;
}
.centered {
text-align:center;
}
</style>
</head>
<body>
this is text on the page
<div class="box_center">
text in div
<div class="centered">
Centered text in a div
</div>
</div>
<div class="box_1">
This is Box 1
</div>
<div class="box_2">
This is Box 2
</div>
<div class="box_3">
This is Box 3
</div>
<div class="box_4">
This is Box 4
</div>
</body>
</html>