Re: CSS1 override question

> 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

Received on Wednesday, 6 November 1996 03:37:08 UTC