Hour 20: CSS for Printing
Most style sheets are written for onscreen display in a Web browser. However, CSS isn't restricted only to screen display; style sheets can be applied to printed versions of a page as well as to other media types.
In this hour, you'll learn
- How to specify rules for specific media types
- Which media types are supported by CSS and when they are used
- How to set the dimensions and orientation of the printed page
- How to set page breaks
- Which print properties 2002's browsers support
- What kinds of things to consider when making a print style sheet
Sample Code
You can download the sample code from each hour as one package or individual files.
- Download all [0.5K tar.gz file]
- Listing 20.1 [CSS]
- Listing 20.2 [CSS]
Web Links
These are the links presented in this hour, given here for easy reference.
Updates and Errata
There are currently no updates to this hour's content.