Attribute for <LINK ...>
MEDIA = SCREEN | PRINT | PROJECTION | AURAL | BRAILLE | ALL | other media
<LINK ...>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.
