While writing the fourth edition of this book, it’s apparent how
practical and usable CSS has become since the previous edition. In just
under two years, we’ve gone from CSS3 being an attractive but
hard-to-implement concept, to being able to put much of what it offers into
practice. We now have improved ways to create many design effects, from
shadows to rounded corners. We’re able to precisely target elements in our
pages with CSS3 selectors, and can eliminate clutter to our markup when
styling page elements.
When using CSS for layout purposes, however, there’s been less
progress. Our basic tools are those we discussed in Chapter 8
: floating, positioning, and clearing elements to create layout. This chapter will show ...