@media within CSS file?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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 {

...is this correct and just not supported by IE, or am I doing something


Re: @media within CSS file?

Quoted text here. Click to load it

You forgot the leading dot.


Re: @media within CSS file?

Never mind... I'm an idjit.

I missed the period in front of my classname ".screenonly"

Quoted text here. Click to load it

Site Timeline