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