You are here: Re: @media within CSS file? « HTML « IT news, forums, messages
Re: @media within CSS file?

Posted by Spartanicus on 11/11/17 11:25

"Noozer" <dont.spam@me.here> wrote:

>I'm trying to define a class (screenonly) that only applies to a specific
>media type (print). For some reason it is not working.
>
>@media print {
> screenonly {
> display:none;
> }
>}
>
>...is this correct and just not supported by IE, or am I doing something
>wrong?

You forgot the leading dot.

--
Spartanicus

 

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

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