Media-specific stylesheets
Posted: Tue Nov 25, 2003 4:19 pm
I'm trying to get a separate stylesheet for printing, but the print preview is making it look like no sheet is loaded at all.
Here is my style markup in the .htm file:
Yes, I have to have all those style options, the client requires all those versions of each page, unfortunately. Can anyone see what's wrong with this? I can't figure it out. The file pf.css itself is fine, when I run it as the screen stylesheet it gets picked up and works just the way I want it to.
Thanks.
Here is my style markup in the .htm file:
Code: Select all
<link rel="stylesheet" type="text/css" href="styles/pf.css" media="print" title="Printer Friendly" />
<link rel="stylesheet" type="text/css" href="styles/green.css" media="screen" title="Standard Style" />
<link rel="alternate stylesheet" type="text/css" href="styles/greenl.css" media="screen" title="Large Print" />
<link rel="alternate stylesheet" type="text/css" href="styles/bw.css" media="screen" title="Black and White" />
<link rel="alternate stylesheet" type="text/css" href="styles/bwl.css" media="screen" title="Large Print Black and White" />Thanks.