- From: Chris Lilley <chris@w3.org>
- Date: Tue, 08 Sep 1998 22:27:05 +0200
- To: "Smith, Brooke" <Brooke.Smith@Butterworths.com.au>
- CC: "'Chris Wilson'" <cwilso@MICROSOFT.com>, "'www-style'" <www-style@w3.org>
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