- From: Doug Doidge <ddoidge@ross-simons.com>
- Date: Thu, 28 Jul 2005 14:54:24 -0400
- To: <www-validator-css@w3.org>
Received on Friday, 29 July 2005 00:50:16 UTC
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 00:50:16 UTC