Re: FONT vs CSS

Smith, Brooke wrote:

> <STYLE>
> P {color:blue}
> EM {color:green}
> </STYLE>
> <P>This is a paragraph <EM><FONT color="red">with emphasised
> text</FONT></EM>.</P>

> In this example the FONT has greater weight and so 'wins'.  [...] HOWEVER, I
> thought
> 
> FONT {text-decoration:none}
> 
> could be used to prevent FONT having any play at all.  

No, it would stop it blinking or being underlined.

What you want - assuming you want valid CSS2, with the minor issue of
actual implementation left aside for the moment ;-(  is

font { font-family: inherit; color: inherit }


--
Chris

Received on Thursday, 10 September 1998 02:12:46 UTC