A Centered, Fixed-Width Layout (Exercise 17)
This is a fixed-width layout, centered in the browser window. This is one method of centering a layout.
Web designers like this kind of layout because it gives them more control over the presentation of information.
The css for this layout looks like this:
body { text-align:center;
min-width: 760px;
font-family:Georgia, "Times New Roman", Times, serif;
background-color:#996;
}
#container { width:720px;
margin:0 auto;
text-align:left;
background-color:#fff;
}
CSS filename: one-columnfixed.css