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

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