Re: color, background color

by =?iso-8859-1?Q?Josu=E9_Figueira_Machado?= <jmachado(at)mindspring.com>

 Date:  Thu, 9 Nov 2000 10:50:17 -0500
 To:  "iris" <laren4(at)yahoo.com>,
<hwg-style(at)hwg.org>
 References:  yahoo
  todo: View Thread, Original
Hey,

These are warnings, and not really errors. The validator is recommending
that you also use background-color where you have color defined. But you
don't have to. The color redefinition warning is because your are using
vlink and alink instead of visited and active. It sees the a:vlink as a
redefinition of a:link. Check
http://www.w3.org/TR/REC-CSS1#anchor-pseudo-classes this is not clear. Hope
this helps,

Josu�


----- Original Message -----
From: "iris" <laren4(at)yahoo.com>
To: <hwg-style(at)hwg.org>
Sent: Thursday, November 09, 2000 9:34 AM
Subject: color, background color


> hello
>
> very quiet here...
>
> could someone explain these validation results from
> the W3C CSS Validation Service to me?  i mean since
> when do i have to specify a background color for
> links?
>
> Warnings :
> Line : 12 Level : 1 You have no background-color with
> your color : A:link
> Line : 14 Level : 1 Redefinition of color : A
> Line : 80 Level : 1 You have no color with your
> background-color : .beigeheader
> Line : 95 Level : 1 You have no background-color with
> your color : HR
>
> and here's what it refers to:
>
> 11  A.nav  {text-decoration : none;}
> 12  A:link  {color : #0066CC;}
> 13  A:vlink {color : #993300;}
> 14  A:alink, A:hover {color : #993300; background :
> #FFFF00;}
>
> 79  .beigeheader {
> 80  background : #FFFFCC;
> 81  font-weight : bold;
> 82 border-top-width : thin;
> 83 border-bottom-width : thin;
> 84 }
>
> 94  hr {
> 95 color : #990000;
> 96 margin-left : 8%;
> 97 margin-right : 8%;
> 98 }
>
> thank you very much for your help
> iris
>
>
> __________________________________________________
> Do You Yahoo!?
> Thousands of Stores.  Millions of Products.  All in one Place.
> http://shopping.yahoo.com/

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