Re: CSS and NS 4.7>
by =?iso-8859-1?Q?St=E9phane?= Bergeron <stephberg(at)videotron.ca>
|
Date: |
Tue, 05 Jun 2001 10:15:57 -0400 |
To: |
"Ryan Bell" <ryaneffectz(at)hotmail.com> |
Cc: |
hwg-techniques(at)hwg.org |
In-Reply-To: |
hotmail |
|
todo: View
Thread,
Original
|
|
Well that's your problem right there. Alternate link classes should be=20
specified this way:
a.normal:link { color: #990033; font-family: Arial, Helvetica, sans-serif;}
a.offwhite:link { color: #FFFFFF; font-family: Arial, Helvetica,=
sans-serif;}
Notice that the class name comes first, then the :link or :visited or=20
whatever. Try this and it should work.
HTH!
St=E9phane Bergeron
At 08:30 2001-06-05 -0400, you wrote:
>Below are the classes that I setup for links appearing on different=20
>colored backgrounds. Netscape 4.6 ignores these classes and instead uses=
=20
>the specifications for general links (a:link, a:visited, etc.). That=20
>makes all of the links the same color, no matter what background color=20
>they reside on. It works fine in NS 6 and IE 5+, but not in NS=20
>4.6. Thanks again.
>--------------
>(default link settings - NS 4.6 only reads this setting, ignoring other=20
>classes)
>a:link { color: #999999; font-family: Arial, Helvetica, sans-serif}
>a:visited { color: #CCCCCC}
>a:hover { color: #FFFFFF}
>
>(for links that appear on white background)- NS ignores
>a:link.normal { color: #990033; font-family: Arial, Helvetica, sans-serif}
>a:visited.normal { color: #336666}
>a:hover.normal { color: #CC3366}
>
>(for links that appear on burgundy background)- NS ignores
>a:link.offwhite { color: #FFFFFF; font-family: Arial, Helvetica,=
sans-serif}
>a:visited.offwhite { color: #FFFFFF}
>a:hover.offwhite { color: #CCCCCC}
>
>(for links that appear on gray background) - NS ignores
>a:link.ongray { color: #000000; font-family: Arial, Helvetica, sans-serif}
>a:visited.ongray { color: #000000}
>a:hover.ongray { color: #990033}
>
>
>
>>From: Larry Coats <lcoats(at)gte.net>
>>To: Ryan Bell <ryaneffectz(at)hotmail.com>
>>CC: hwg-techniques(at)hwg.org
>>Subject: Re: CSS and NS 4.7>
>>Date: Mon, 04 Jun 2001 22:18:40 -0700
>>
>>
>>
>>Ryan Bell wrote:
>>
>> > I am using CSS for one of my designs, and one of the things that I did=
=20
>> when
>> > creating this site was define different classes for the links on the=
page
>> > (ie. links that appear on a white background versus links that appear=
on a
>> > burgundy background). Well the problem with that is Netscape 4.7 and
>> > earlier does not interpret the CSS correctly, so I am trying to work=20
>> around
>> > that (because a good amount of the site visitors use NS 4.6).
>> > Unfortunately because the page consists of a dark color and a light=
color,
>> > trying to find a color that works on both is difficult. I used the=20
>> default
>> > link setting in my stylesheet to specify the color for links in earlier
>> > browsers. IS there any other way to approach this? Right now I'm=
using
>> > #999999 as the link color for all links in earlier browsers, but I'm=20
>> getting
>> > complains that it's too dark. What else can I do?
>>
>>I'm certain that Netscape can handle CSS for specifying different colors=
=20
>>for the
>>links. If you can give us a URL or post your code in a message, perhaps an
>>eagle-eyed person can spot what's wrong.
>>
>>Larry Coats
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA