W3C home > Mailing lists > Public > site-comments@w3.org > December 2003

CSS error

From: Andreas Lange <a.lange@home.se>
Date: Mon, 01 Dec 2003 19:17:25 +0100
Message-ID: <3FCB85B5.3070903@home.se>
To: site-comments@w3.org

Hi!

My mozilla debug build complained about this when viewing the CSS3 page:

CSS Error (http://www.w3.org/StyleSheets/Core/Traditional :192.23): 
Expected color but found 'fffffa'.  Error in parsing value for property 
'background'.  Declaration dropped.
CSS Error (http://www.w3.org/StyleSheets/Core/Traditional :196.23): 
Expected color but found 'fffffa'.  Error in parsing value for property 
'background'.  Declaration dropped.

This seem to come from:
 http://www.w3.org/StyleSheets/Core/Traditional
a:link    {
    background:    fffffa;
    }

a:visited    {
    background:    fffffa;
    }

Isn't it necessary for hex values to be prefixed by a '#'?

One might note that the CSS validator is perfectly happy about the file. :-)
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.w3.org%2FStyleSheets%2FCore%2FTraditional&warning=2&profile=css2&usermedium=all

          //Andreas
Received on Monday, 1 December 2003 13:23:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 24 October 2012 16:21:28 GMT