Return to Snippet

Revision: 16743
at August 14, 2009 05:53 by thesmu


Initial Code
<link rel="stylesheet" type="text/css" href="print.css" media="print" />

Initial URL
http://webdesign.about.com/cs/css/a/aa042103a.htm

Initial Description
As with screen style sheets, you use the <link> element to define the print style sheet your Web page should use:
<link>

The only difference between this link element and the link to your screen style sheet is the attribute:
media="print"
Most style sheets are written for the screen, so the media can be left off, or written as:
media="screen"

Initial Title
Defining a Style Sheet for Print

Initial Tags
css, html, style

Initial Language
HTML