O'Reilly logo

Eric Meyer on CSS: Mastering the Language of Web Design by Eric A. Meyer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Branching Out

When it comes to floats and positioning, there are almost too many choices to make, since you can do almost anything. Here are but a few ideas to get you thinking.

  1. Return to the style sheet shown in Listing 9.2 and alter it to link up the borders beneath the entry date and the “Other Mutters” sidebar. (Also try the same for the styles that produced Figure 9.14.) If the borders don’t quite line up, remember that you might have to nail down the height of one or more headings with line-height. Then try moving the border from the links to the div itself and try playing with the widths and margins of the entry and sidebar divs.

  2. Using the style sheet in Listing 9.2, change the font and font size defined for the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required