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.

  

  

 

 

 

back to top