Print Styles for a Press Release
If there’s one kind of Web page that is likely to be printed out, it’s a press release. If you’ve been through Project 2, you know we’ve already created a press release style for the Web. In this section, we’ll take the end result of that project and modify the screen style sheet for print.
Checking Our Status
A quick check of the end result of Project 2 (see Figure 6.10) shows us that what we have is already fairly close to a print style sheet. The main point of concern here is that the design uses colors and a background image, as we can see in Listing 6.3.
Figure 6.10. The press release as styled for the screen.
Listing 6.3. The Press Release’s Stylesheet
<style type="text/css"> body ... |
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.