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

Laying the Groundwork

First we need to look over the press release with some basic HTML markup (see Figure 2.1). This needs to be fairly simple structural markup, not the nested-table stuff you usually see. We’ll add in some divs and classes to give ourselves some styling hooks in just a moment.

Figure 2.1. A basic press release, not yet styled with CSS.

What Happened to the Break?

The <br> was removed from the release div because it’s no longer needed. The line-break effect of the <br> has been replaced by the implicit line ...

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