XML technologies / CSS / Advanced websites with CSS / Fixed-width layouts

(Excerpt from “CSS − Advanced websites with Cascading Stylesheets” by Rachel Andrew & Dan Shafer)

In A simple CSS layout and A three-column layout we developed so-called “dynamic layouts” (liquid layouts). These adapt dynamically to the browser window’s size. Users control the size at which they view the page by resizing their browser window. In contrast, you may want a page with a fixed width. Here we set the content area’s width in advance so users with common screen resolutions do not need to scroll horizontally to view it.

This chapter develops a fixed-width layout centred in the browser window. Along the way, we will learn techniques for effective data-table design. We will also discuss a method that lets users choose another layout if they have difficulty reading the static one.

  

  

 

 

 

back to top