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

Error on validator for background color. Answer not in FAQ

From: michael jones <michaeljonesuk@hotmail.com>
Date: Tue, 13 Jun 2006 03:00:56 +0000
Message-ID: <BAY115-F35F52182DA9F110CD2841DCB8C0@phx.gbl>
To: www-validator-css@w3.org

I got the error messages:

    * Line : 1 (Level : 1) You have no color with your background-color : 
..BGColor
    * Line : 3 (Level : 1) You have no background-color with your color : h6
    * Line : 3 (Level : 1) You have no background-color with your color : h6
    * Line : 3 (Level : 1) You have no background-color with your color : h6
    * Line : 3 (Level : 1) You have no background-color with your color : h6
    * Line : 3 (Level : 1) You have no background-color with your color : h6
    * Line : 3 (Level : 1) You have no background-color with your color : h6
    * Line : 5 (Level : 1) You have no background-color with your color : 
..StoryTitle

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

    * Line : 1 (Level : 1) You have no color with your background-color : 
..BGColor
    * Line : 6 (Level : 1) You have no color with your background-color : 
..StoryLink
    * Line : 7 (Level : 1) You have no color with your background-color : 
..NavLinks
    * Line : 8 (Level : 1) You have no color with your background-color : 
..ProtectedArea

So, it recognises some, but not others.

Any help?

My CSS is:

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

h1, h2, h3, h4, h5, h6 {font-family:Arial, Helvetica, sans-serif; 
color:#0000FF; background-color: #99CCFF}

..StoryTitle {font-size:18px; font-family:Arial, Helvetica, sans-serif; 
color:#0000FF; background-color: #99CCFF}
..StoryLink {font-family:Arial, Helvetica, sans-serif; background-color: 
#99CCFF}
..NavLinks { font-family:Arial, Helvetica, sans-serif; padding-right: 50px; 
background-color: #99CCFF}
..ProtectedArea {font-size:9px; float:right; background-color: #99CCFF}
Received on Tuesday, 13 June 2006 15:04:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:17 GMT