Chapter 5. Basic Page Layout
AT THE END OF CHAPTER 3, we styled a page of text in a single, long column. While you may lay out a simple one-column page like this once in while, usually you want to have more than one column in order to make the most of the horizontal space and offer users plenty to look at and interact with before they have to scroll.
If you dig down under the hood of most site designs, they are based on two- or three-column layouts, even though that fact is sometimes visually well disguised. In this chapter, I am going to introduce you to ways in which these layouts are created using XHTML and CSS. You can think of any page layout I show in this chapter as being like the chassis of a car—it’s not visible to the user, but it’s the ...
Get Stylin’ with CSS: A Designer’s Guide, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.