W3C home > Mailing lists > Public > www-style@w3.org > September 1997

Precedence within a stylesheet

From: Andi Hindle <andih@harlequin.co.uk>
Date: Thu, 18 Sep 1997 18:10:35 +0100
To: www-style@w3.org
Message-ID: <80256516.005DEFA8.00@noteslong.long.harlequin.co.uk>

Hi

I'm trying to figure out what takes precedence over what in a stylesheet.
Thus, given:

body {

     color : #FFFFFF;
}

h1 {

     color : #FF0000;
}

will my <h1> turn out red or white?  Apologies for the basic question, but
I can't find anything that tells me the answer and my browser experiments
have been inconclusive -- I'd like to know what's _meant_ to happen, even
if it doesn't actually happen yet in some implementations! ;-)

Thanks

--&e
Received on Thursday, 18 September 1997 13:11:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:51 GMT