Log in

View Full Version : problem with print stylesheet



emanuelle
06-21-2010, 09:36 AM
Hi

i noticed that the print stylesheet works only with the parent ID div.
If I have a
<div id="header">
<div id="subheader1">subheader1</div>
<div id="subheader2">subheader2</div>
<div id="subheader3">subheader3</div>
<div id="subheader3">subheader3</div>

</div>

i dont want the #subheader1 to be seen in my print version

so in my print.css I add
#subheader1{display:none}

but it still showa the #subheader1

what do I do wrong???

Beverleyh
06-21-2010, 06:21 PM
Are you using javascript to present the parent div in the print stylesheet? Can you post a copy of the code so we can see what variables are affecting what.