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

Re: background-color warning

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 26 Jun 2001 20:22:46 +0200
To: "Chaz" <chaz@ro0t.com>
Cc: <www-validator-css@w3.org>
Message-ID: <3lkhjt4a65mjoedhg11982i2dmou3n6qm9@4ax.com>
* Chaz wrote:
>Hi, i recieved the following warning from the validator, which i am unsure
>of:
>
>Warnings
>
>URI : http://cservice.gdchat.org/cservice.css
>Line : 10 Level : 1 You have no color with your background-color : BODY
>
>Valid CSS informations
>
>BODY {
>position : absolute;
>top : 0;
>left : 0;
>right : 0;
>bottom : 0;
>margin : 0;
>padding : 0;
>height : 100%;
>background-color : #003366;
>}
>
>I specified a color, so why does it say i have no color?

You do specifiy a _background-color_, but no _color_. Consider someone
has configured

  body { color: #003366 }

if you don't override this color, the text gets invisible.
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Tuesday, 26 June 2001 14:21:49 GMT

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