April 2005
Intermediate to advanced
336 pages
6h 33m
English
Another very desirable layout is a three-column layout with a masthead and a footer (see Figure 13-4).
Figure 13-4. A sophisticated three-column layout with a masthead and a footer.

This layout uses floats, not positioning, to achieve the desired results (see Example 13-2).
Example 13-2. Using floats for layout
<style type="text/css">#masthead {width: 768px;}#nav {float: left; width: 200px;}#content {float: left; width: 368px;}#sidebar {float: left; width: 200px;}#footer {width: 768px; clear: both;}</style>
This is a fixed-width layout, which means that none of the columns will dynamically change ...
Read now
Unlock full access