Print Stylesheet - The Definitive Guide
By Trenton Moss2008-01-24
How to set up your print stylesheet
A print stylesheet works in much the same way as a regular stylesheet, except it only gets called up when the page is printed. To make it work, the following needs to be inserted into the top of every web page:
<link rel="stylesheet" href="print.css" type="text/css" media="print" />
The file, print.css is the print stylesheet, and the media="print"
command means that this CSS file only gets called up when web pages are
printed. (There are many different media you can use for stylesheets,
such as for handheld, TV, projection etc. - see a full list of media types2 for more.)
Tutorial pages:
|
|
|||||||||
You might also want to check these out:
|
Leave a Comment on "Print Stylesheet - The Definitive Guide"
You must be logged in to post a comment.
Link to This Tutorial Page!

