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

Re: Validator dosn't read my CSS correct!?

From: Tim Bagot <tsb-w3-validator-0002@earth.li>
Date: Sat, 4 Nov 2000 17:32:41 +0000 (UTC)
To: W3C Validator <www-validator@w3.org>
Message-ID: <Pine.LNX.4.21.0011041730420.7441-100000@windle.hack>
On Sat, 4 Nov 2000, Jette Nielsen wrote:

> I just checked it again, and now it reads it correct, but I don't understand
> why I get this error:
> 
> *********
> Line : 2 Level : 1 You have no color with your background-color : BODY
> *********
> 
> Because I do have a background-color for BODY

It means that you have given a value for the background-color property but
not the color property. It is important always to set both, since
otherwise a value specified by a user style sheet could cause the text to
be unreadable.


Tim Bagot
Received on Saturday, 4 November 2000 12:33:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:54 GMT