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

The background attribute is a short cut method to set several attributes with one statement.  You have set background to none, thus it may not see the background-color:  The background setting says there is no color, (none).

What were you trying to set with the background attribute?

regards,
pat stout
mstout@xnet.com
"looking for work...."




 
-----Original Message-----
From: Jette Nielsen <jette-nielsen@get2net.dk>
To: W3C Validator <www-validator@w3.org>
Date: Saturday, November 04, 2000 10:27 AM
Subject: Validator dosn't read my CSS correct!?


>
>I've written this in my CSS document:
>
>BODY {
> background-color:#FFFFFF;
> background:none;
> font-family:'Arial', sans-serif;
> margin-left:10Px;
>}
>
>
>But when I validate it, it says (under "Your validated Cascading Style Sheet
>:"), that i've written this:
>
>
>BODY {
>   font-family : 'Arial', sans-serif;
>   background : none repeat;
>   margin-left : 10px;
>}
>
>
>
>Why can't the validator read my stylesheet correct?
>
>
>Any suggestions are welcome :-)
>
>
>Regards
>Jette
>
>

Received on Saturday, 4 November 2000 12:19:11 UTC