Thursday, February 10, 2011

The Three Column layout

body {
margin:0;
padding: 0;
}
#header {
height: 20px;
background-color: #cecece;
border-bottom: 1px solid #969696;
}
#content {
position:relative;
width:auto;
top: 10px;
margin:0px 330px 0px 250px;
background-color: #ffffff;
padding:10px;
}
#side1 {
position:absolute;
width:200px;
top:30px;
left:10px;
padding:10px;
}
#side2 {
position:absolute;
width:280px;
top:30px;
right:10px;
padding:10px;
}

No comments:

Post a Comment