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

background-color not validating when it should

From: Robert Mullaney <robert@easybusinessservices.com>
Date: Fri, 17 Nov 2006 10:32:48 -0500
To: <www-validator-css@w3.org>
Message-ID: <000501c70a5d$b5de0090$6401a8c0@design>
We have elements in our CSS that should validate as per the CSS2
specifications.

 

We used the following code that resulted in the validation warning.

 

a {

            color: #06f;

            background-color: transparent;

}

 

The warning raised was as follows.

 

Line : 131 (Level : 1) You have no background-color with your color : a

 

We have tried using many variants to alleviate this warning but nothing gets
by it. The "background-color: transparent" specification should be valid
according to http://www.w3.org/TR/REC-CSS2/colors.html#background-properties

 

Correcting this apparently bogus warning or providing an explanation as to
why it does not validate would be appreciated.

 

Thanks,

Robert Mullaney

Easy Business Services <http://www.easybusinessservices.com/> 

Phone: 239-242-6691 x 22

 

 
Received on Saturday, 18 November 2006 00:08:21 GMT

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