Why doesn't the red color override the gray in this example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
</head>
<body>
<font color="#FF0000" style="color: Red !important;"><FONT
color="#E0E0E0" size=4>SIGN UP FOR FREE TODAY - bad link
02/22/05</FONT></font>
</body>
</html>
Thanks,
Brett
Steve Pugh - 25 Feb 2005 16:33 GMT
>Why doesn't the red color override the gray in this example:
Why should it? !important places the relevant rule higher up in the
cascade, it does not turn off inheritence.
><font color="#FF0000" style="color: Red !important;"><FONT
> color="#E0E0E0" size=4>SIGN UP FOR FREE TODAY - bad link
> 02/22/05</FONT></font>
What horrible code.
strong {color: red; background: white; font-size: larger; font-weight:
normal;}
<strong>SIGN UP FOR FREE TODAY - bad link 02/22/05</strong>
Steve

Signature
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <steve@pugh.net> <http://steve.pugh.net/>
Steve Pugh - 25 Feb 2005 16:37 GMT
>>Why doesn't the red color override the gray in this example:
>
>Why should it? !important places the relevant rule higher up in the
>cascade, it does not turn off inheritence.
I don't mean turn off inheritence, do I? I mean it doesn't create some
sort of super-inheritence.
Steve

Signature
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <steve@pugh.net> <http://steve.pugh.net/>
Lauri Raittila - 25 Feb 2005 16:41 GMT
> Why doesn't the red color override the gray in this example:
URL? Browser?
Answer: you tested using broken browser. Important is not even needed. Do
not use transitional with CSS if you ant to get correct results using
broken browsers.

Signature
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Utrecht, NL.
Richard - 26 Feb 2005 09:09 GMT
> Why doesn't the red color override the gray in this example:
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <title>Untitled</title>
> </head>
> <body>
> <font color="#FF0000" style="color: Red !important;"><FONT
> color="#E0E0E0" size=4>SIGN UP FOR FREE TODAY - bad link
> 02/22/05</FONT></font>
> </body>
> </html>
> Thanks,
> Brett
<font-color:#FF0000;>
<font size="4">
<font-size:4;>
Steve Pugh - 26 Feb 2005 09:54 GMT
><font-color:#FF0000;>
><font size="4">
><font-size:4;>
One out of those three is valid HTML. The other two are some sort of
bizarre melding of HTML and CSS syntax.
Now please explain how your three lines of rubbish pseudo-code is
supposed to help the OP? O
Steve

Signature
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <steve@pugh.net> <http://steve.pugh.net/>
Jonathan N. Little - 27 Feb 2005 02:45 GMT
<snip>
> <font-color:#FF0000;>
> <font size="4">
> <font-size:4;>
Richard
FONT is an old HTML 3.2 tag, depreciated in 4.0 and the syntax was
<FONT FACE="SomeFontName" COLOR="RED" SIZE="4>...</FONT>
But don't do this! Time to buy a NEW book ... and read it.

Signature
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com