- From: Smith, Brooke <Brooke.Smith@Butterworths.com.au>
- Date: Thu, 10 Sep 1998 17:19:45 +1000
- To: "'Chris Lilley'" <chris@w3.org>
- Cc: "'Chris Wilson'" <cwilso@MICROSOFT.com>, "'www-style'" <www-style@w3.org>
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 } Even when CSS2 browsers are out that support inherit, there will still be many CSS1 ones which don't and so this question will still need to be asked, though rather the actual question will be: "I use inherit to handle the problem of the FONT tag in CSS2 browsers (FONT required for non-CSS browsers) but how do I handle FONT in CSS1 browsers?" Thus you see that inherit is nice but doesn't solve the problem. Our unfortunate position is that as Legal Publishers we have to cater for all those backward legal firms which are still using old computers and old browsers, and have a very thin upgrade policy. And then some of the more technologically advanced ones do things like strip Javascript for security reasons (???). Hope you don't mind my winging, Regards, Brooke ======================================= http://www.butterworths.com.au/profile/people/brooke/ +61 412 024 742 +61 2 9422 2223 Butterworths Electronic Publishing Developer > -----Original Message----- > From: Chris Lilley [SMTP:chris@w3.org] > Sent: Wednesday, September 09, 1998 6:27 AM > To: Smith, Brooke > Cc: 'Chris Wilson'; 'www-style' > Subject: 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 03:16:54 UTC