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> ...

Get Eric Meyer on CSS: Mastering the Language of Web Design 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.