No, the last one overrides the ones before it.

Kevin

-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Jody Tate
Sent: Thursday, August 05, 2010 1:21 PM
To: [email protected]
Subject: [WSG] @media ordering in stylesheet

Hi all,

Does @media rule ordering in a stylesheet matter? For example, given the
following order:

@media print {
        body { 
                #FFFFFF;
        }
}

@media all {
        body { 
                #990000;
        }
}

Will @media print override the @media all in this ordering?

Googling around, I've not found a clear answer to the question. So, any
help is appreciated. 

Thanks in advance,
jody

*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************

Reply via email to