Re: CSS1 override question

Peter Flynn (pflynn@curia.ucc.ie)
06 Nov 1996 08:39:18 +0000 (GMT)


Date: 06 Nov 1996 08:39:18 +0000 (GMT)
From: Peter Flynn <pflynn@curia.ucc.ie>
Subject: Re: CSS1 override question
To: tschlarm@Adobe.COM
Cc: www-html@w3.org
Message-id: <199611060839.IAA17747@curia.ucc.ie>

> How does CSS1 handle conflicting attributes in styles of the same tag?
> 
> For example:
> 
> Suppose a linked stylesheet defined H2 as:
> 
> H2 { color:green; text-align:center }
> 
> and later on another linked stylesheet defined H2 as:
> 
> H2 { color:purple; text-align:left }
> 
> What attributes would you expect to be applied?  

Purple and left. I thought the whole point about _cascading_ style sheets
was that multiple style sheets could overlay earlier ones.

Mind you, that could leave you with mud-brown centered text :-)

///Peter