XML technologies / CSS / CSS Cookbook / Page layouts
(Excerpt from “CSS Kochbuch” by Christopher Schmitt)
Introduction
Creating page layouts with CSS is one of web design’s greatest achievements. For a long time, developers used HTML tables for layouts, often nesting several tables to create complex multicolumn designs. These also render correctly in older browsers: Navigator 4 and its contemporaries offered only a tiny dose of CSS support, if any.
Today, tables and other HTML elements should structure content, while CSS handles layout and presentation. CSS removes much hard work and brings further advantages. Meaningful content once buried in deeply nested tables can now occupy meaningful heading and paragraph elements, pleasing developers and improving search rankings.
CSS also produces much smaller files and fewer maintenance headaches. Redesigning a table-based website once took hours or days; with CSS, it is done in next to no time.
This chapter describes ways to create layouts with up to four columns.
Copyright of the German edition © 2007 by O’Reilly Verlag GmbH & Co. KG
You may print the online version for your private use.
Otherwise, this chapter from “CSS Kochbuch” 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.
O’Reilly Verlag GmbH & Co. KG, Balthasarstr. 81, 50670 Köln