Styling a Calendar for Printing

Almost as likely as press releases to be printed are events calendars. By the end of Project 3, we’d created a full-month events calendar for a small community. In this section, we’ll take the end result of that project and create a new style sheet just for print.

Getting Up-to-Date

Let’s take another look at the large events calendar from the end of Project 3 (see Figure 6.13 and Listing 6.4). As in the preceding section, we’re going to convert the colors we see to rough grayscale equivalents. This time, however, we’ll do it by adding a completely new style sheet to the document. The rules in this second style sheet will include only what we need to replace the colors in the existing style sheet with more appropriate ...

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.