web typography study guide

Line Length Example

Using min-width and max-width to create fluid width that works for Firefox, IE7, Opera, and Safari. The red block will follow the width of the browser window (or in this case, the paragraph container) and at the same time it is at least 760 pixel wide and no more than 1050 pixel wide.
#example1 {
min-width: 760px;
max-width: 1050px;
width: 100%;
background-color:#FCC;
}