XML technologies / CSS / Advanced websites with CSS / A three-column layout / Adding a third column
(Excerpt from “CSS − Advanced websites with Cascading Stylesheets” by Rachel Andrew & Dan Shafer)
The two-column layout from A simple CSS layout looks great! However, you may find that the project has additional information you would like to put in a third column, as shown in the following figure.
Figure: The three-column layout design.
In Repositioning the sidebar I showed how to move the sidebar from the right to the left. We simply defined a left margin wide enough for the sidebar, positioned the sidebar there and removed the right margin. We can fit the new third column using exactly the same technique. Let us examine that now.
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