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>


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! ;-)


Received on Thursday, 18 September 1997 13:11:31 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:44 UTC