Re: ummm...
by "Paul Roberts" <roberts_paul(at)bigfoot.com>
|
Date: |
Tue, 13 Jun 2000 02:25:08 +0100 |
To: |
<arcady(at)jps.net>, <hwg-techniques(at)hwg.org> |
References: |
jps |
|
todo: View
Thread,
Original
|
|
No, It displays red with Helvetica in IE5, you can't mix CSS and font tags.
The font tags
override the CSS rules.
see http://www.w3.org/Style/
Paul Roberts
roberts_paul(at)bigfoot.com
----- Original Message -----
From: Arcady <arcady(at)jps.net>
To: <hwg-techniques(at)hwg.org>
Sent: Tuesday, June 13, 2000 12:21 AM
Subject: RE: ummm...
> >> will older or newer
> >> browsers choke on the unrecognized code?
>
> >If you use both of those together (CSS and <font> tags), then with IE and
> >other browsers that do CSS I don't know what will happen
> In any browser which supports CSS the CSS will overrule any font tags, or
other
> tags it redefines.
>
> For insatnce:
>
> <p style="margin:0px 0px 0px 0px;">
>
> will in a CSS browser make this <p> tag work like a <br> tag. It overrides
the
> older default rules.
>
> Likewise:
>
> <head>
> <style>
> BODY, TD {
> font-family: Verdana, Arial;
> color: #000000;
> }
> </style>
> </head>
> <body>
> <font face="helvetica" color="#FF0000">test</font>
> </body>
>
> In a CSS browser you'll get 'test' displayed black with the Verdana font.
In
> and older browser it will display red with Helvetica.
>
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA