Thread: print css help
View Single Post
Old 22-04-2004, 12:40   #1 (permalink)
Alex
div
 
Alex's Avatar
 
Join Date: Feb 2004
Location: Leeds
Posts: 646
Send a message via MSN to Alex
print css help

Basically I've got a print.css stylesheet that I'm linking to via @import command.

The problem is that, in ie5 and 5.5 for some reason they use the print stylesheet as the main stylesheet for the page, even though it contains the media="print" command. This obviously messes the whole layout as in the print stylesheet I'm hding a lot of the #divs which I dont want to be printed.

As usual it all works fine in ie6,mozilla etc.

A google shows other people have had the same problem, but I cant find a bloody solution!

Can anyone help?

the css..

Quote:
<style type="text/css" media="screen, projection">
@import url(style/<?php echo $stylesheet;?>);
</style>
<style type="text/css" media="print">
@import url(style/print.css);
</style>
__________________
  Reply With Quote