|
Posted by Nick Theodorakis on 03/07/06 04:59
arkgroup wrote:
> I need to hide some text from the screen and show when printing.
> I have css, that I use when I print.
> Here is page code
> <div id="test" style="display:none">
> test
> </div>
>
> and print.css
>
> div#test { display: block; }
>
>
> I still can't see my text when I print preview.
>
I sometimes have trouble figuring out style specificity, but according to:
<http://www.w3.org/TR/CSS21/cascade.html#specificity>
it would seem your inline style is overriding the style declaration in
your stylesheet.
Other than that, post a url and it will be easier to tell.
Nick
--
Nick Theodorakis
nick_theodorakis@hotmail.com
contact form:
http://theodorakis.net/contact.html
Navigation:
[Reply to this message]
|