|
<LINK ...>MEDIA = SCREEN | PRINT | PROJECTION | AURAL | BRAILLE | ALL | other mediaMEDIAALL, which means that the link applies to any media.
MEDIAMEDIA
First, create a file for the print-only styles. Let's call it
printonly.css. Type the following code into the file:
A{text-decoration:none}
A:link{color:black}
A:visited{color:black}
Now, in your web page, in the <HEAD><LINK ...>
<LINK REL=STYLESHEET HREF="printonly.css" MEDIA=PRINT>
This gives us a web page like this.
MEDIA
<LINK REL=STYLESHEET HREF="printonly.css" MEDIA="PRINT,PROJECTION">
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.