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

If we load up the bare-bones calendar of days that the database output script is producing, the content is pretty much recognizable as a calendar already. We can also see right off the bat that the content is enclosed in a table (see Figure 3.1).

Figure 3.1. The unstyled calendar of days.

We can see that some days are hyperlinked to other pages and some aren’t, but what’s the table’s overall structure? We could just turn on borders, but that might not tell us enough. Instead, let’s temporarily insert some styles that will reveal the structure of the table to us (see Figure 3.2):

<title>Project 3 Chapter</title>
<style ...

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