W3C home > Mailing lists > Public > www-validator-css@w3.org > July 2005

RE: CSS Validation Question

From: Doug Doidge <ddoidge@ross-simons.com>
Date: Thu, 28 Jul 2005 22:44:55 -0400
Message-ID: <26B3CFFEE29D4541BE0054443DC9036C021D5B8C@jade.ross-simons.com>
To: "Kravvitz" <Kravvitz@DynamicSiteSolutions.com>, <www-validator-css@w3.org>

Thank you.

-----Original Message-----
From: Kravvitz [mailto:Kravvitz@DynamicSiteSolutions.com]
Sent: Thursday, July 28, 2005 9:50 PM
To: Doug Doidge; www-validator-css@w3.org
Subject: Re: CSS Validation Question


Yes, currently the validator validates to CSS2, not CSS2.1, since CSS2.1 
has not reached W3C Recommendation status. CSS2.1's current status is 
W3C Working Draft.

Doug Doidge wrote:
> Hi,
> 
> I was validating my CSS file and this line was reporting as an error...
> 
>     Line: 407 Context : #button_nav li
>     Invalid number : _display_ inline-block is not a display value :
>     inline-block
>     ...http://www.w3.org/TR/REC-CSS2/visuren.html#propdef-display
>     . 
> 
> 
> 
> Here is the code...
> 
>     #button_nav li {
>       *display: inline-block;
>     *  list-style-type: none;
>       color: #FFF;
>       white-space: nowrap;
>       }
> 
> 
> Is it an error. I looked at all the acceptable values and "display: 
> inline-block;" seems to be valid.
> http://www.w3.org/TR/CSS21/visuren.html#propdef-display
> 
> Is this because the validator is built on CSS 2 and not CSS 2.1?
> 
> Thanks, Doug
Received on Friday, 29 July 2005 02:45:09 GMT

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