You are here: Re: CSS PRINT « HTML « IT news, forums, messages
Re: CSS PRINT

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация