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

The first thing we need is a properly structured file. Fortunately, we already have it. Listing 9.1 provides the top part of the file’s body, and Figure 9.1 shows it in its raw, unstyled glory.

Listing 9.1. A Portion of the Document Markup
<body> <h1>Submental Mutterings</h1> <div id="sidebar"> <h4>Other Mutters</h4> <a href="mutter01.html">13 September 2001</a> <a href="mutter02.html">24 September 2001</a> <a href="mutter03.html">04 October 2001</a> <a href="mutter04.html">19 October 2001</a> <a href="mutter05.html">27 October 2001</a> <a href="mutter06.html">31 October 2001</a> <a href="mutter07.html">08 November 2001</a> <a href="mutter08.html">13 November 2001</a> </div> <div id="entry"> <h3>27 October 2001</h3> <p> ...

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