Re: why doesn't this work in any browser but IE?

by David Jones <dvjones(at)ksbe.edu>

 Date:  Thu, 31 Oct 2002 14:03:54 -1000
 To:  hwg-techniques(at)hwg.org
 In-Reply-To:  simrad
  todo: View Thread, Original
On 31 Oct 2002, at 14:24, chip.wiegand(at)simrad.com wrote:

> I am trying to get two differant a href link styles, one
> with white text on a dark gray background and the other
> for black text on a white background -
> 
>      a.1:link { color: white; }
>      a.1:visited { color: white; }
>      a.1:hover { color: yellow; }
>      a.1:active { color: red; }
>      a.2:link { color: black; }
>      a.2:visited { color: black; }
>      a.2:hover { color: green; }
>      a.2:active { color: red; }
> 
> This works fine in IE but not at all in Netscape7,
> Mozilla1.1 or Opera6. Any suggestions?

[My guess why it doesn't work in non-IE - it's probably 
something proprietary to IE. Mozilla, NS6/7, and Opera 
are much more standards compliant. Mozilla and 
NS6/7 have chosen to not provide backwards 
compatibility. You might check the W3C, Netscape, 
Mozilla, or Opera web sites and see what they have to 
say about making such a thing work in a standards-
compliant way.

>  (They why do I have 9? Somebody help me!)

You only need one. Send the other 8 to me. I used to 
have 11, now I'm down to only five and just don't know 
what to do with myself and all this free time! ;-)

David
dvjones(at)ksbe.edu
 

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.