W3C home > Mailing lists > Public > www-validator-css@w3.org > June 2006

Re: Error on validator for background color. Answer not in FAQ

From: David Dorward <david@dorward.me.uk>
Date: Tue, 13 Jun 2006 16:11:12 +0100
To: michael jones <michaeljonesuk@hotmail.com>
Cc: www-validator-css@w3.org
Message-ID: <20060613151112.GE16670@us-lot.org>

On Tue, Jun 13, 2006 at 03:00:56AM +0000, michael jones wrote:
> I got the error messages:

> So i added background-colour:   to all of them, except the .BGColor, as I 
> know that DOES have a background color to it.

> My CSS is:

You seem to use .. a lot. I think you just mean "."

> ..BGColor {background-color: #99CCFF}

That has a backgorund-color, but no foreground colour.
 
> h1, h2, h3, h4, h5, h6 {font-family:Arial, Helvetica, sans-serif; 
> color:#0000FF; background-color: #99CCFF}

Fine.

> ..StoryTitle {font-size:18px; font-family:Arial, Helvetica, sans-serif; 
> color:#0000FF; background-color: #99CCFF}

Fine (although font sizes for screen specific in pixels are considered
harmful).

> ..StoryLink {font-family:Arial, Helvetica, sans-serif; background-color: 
> #99CCFF}

No color property specified.

> ..NavLinks { font-family:Arial, Helvetica, sans-serif; padding-right: 50px; 
> background-color: #99CCFF}

No color property specified.

> ..ProtectedArea {font-size:9px; float:right; background-color: #99CCFF}

No color property specified (and again with the pixels).

-- 
David Dorward                                      http://dorward.me.uk
Received on Tuesday, 13 June 2006 15:11:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:00:57 UTC