CSS Layouts: Replacing the Table…
Instructions2
- The divs will have these corresponding sizes and borders around them. Please note that the border is to help you recognize
what each section of the div is doing. :)
#container {
width: 760px;
border: 1px solid black;
}
#header {
border: 1px solid red;
}
#top {
border: 2px solid orange;
}
- It should look like this: Header Div
#middle {
border: 1px solid blue;
background: #fff;
}
#left {
border: 2px solid #0066ff;
float: left;
width: 160px;
}
#content {
float: left;
width: 440px
border: 2px solid green;
}
#right {
float: right;
width: 140px
border: 2px solid #0066ff;
}
#clear {
clear: both;
height: 10px;
border: 2px solid purple;
}
- It should look like this: Content Div
#footer {
width: 100%;
border: 2px solid #red;
}
- It should look like this: Footer Div
Techrangers SM | October 26, 2004