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

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

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