Sent by Jonathon Isaac Swiderski on 28 June 2002 19:07
From: [EMAIL-REMOVED]
Date: Fri, 28 Jun 2002 19:16:44 -0400
In a message dated Fri, 28 Jun 2002 11:20:20 AM Eastern Standard Time,
Dean|eCreate [EMAIL-REMOVED]> wrote:
>I get the following result from the W3C CSS validator:
>
> Warning: You have no background-color with your color : a:link
>
>I don't want a background color for the link. How do I make the validator
>happy with that?
Well, as the others have said, you actually don't have to. But if you want to
make the validator content, you have a few options:
1. Set background-color to "inherit."
3. Set background-color to "transparent."
A note: both these settings have been known to make Netscape 4 do nasty
things-- it has a tendency to try to read these as actual values, except that it
replaces non-hexadecimal characters with zeroes, so 'inherit' gets turned into
'000e00', for example. See http://www.richinstyle.com/bugs/netscape4.html for
more.
If you intend to support Netscape 4 (and please, let's /not/ get into why you
should or shouldn't yet again), you should probably stick to setting an actual
color, or just ignoring the warning.
--
Jonathon Isaac Swiderski [EMAIL-REMOVED]
cs.oberlin.edu/~jswiders \\ members.evolt.org/jswiders
PURPOSE OF YOUR CAREER:
Astronaut: Advancing scientific knowledge for the good of humanity.
Fireman: Saving lives and property.
Sysadmin: Assuring uninterrupted access to alt.binaries.erotica.sheep.