XML technologies / CSS / Advanced websites with CSS / A simple CSS layout
(Excerpt from “CSS − Advanced websites with Cascading Stylesheets” by Rachel Andrew & Dan Shafer)
We now have a fair amount of theory behind us. The rest of this book shows how to put CSS into practice when developing your own pages. Step by step, we will learn to build pages with CSS, moving from simple to increasingly complex layouts. We will also combine concepts already described to create beautiful pages.
This chapter begins by developing a simple two-column layout. Along the way, we will learn absolute and relative positioning and how margins, padding and borders work together. Applying many techniques already covered in the book to this layout will show how these tools can be combined.
Although this chapter’s layout is relatively simple, many websites use this structure, and it could easily serve as the starting point for a production page.
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