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

Get Eric Meyer on CSS: Mastering the Language of Web Design now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.