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.
Copyright © 2006 of the German translation, dpunkt.verlag GmbH
You may print the online version for your private use.
Otherwise, this chapter from “CSS − Anspruchsvolle Websites mit Cascading Stylesheets” is subject to the same conditions as the bound edition: the work, including all its parts, is protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
dpunkt.verlag GmbH, Ringstraße 19, 69115 Heidelberg
back to top