W3C home > Mailing lists > Public > www-validator-css@w3.org > January 2009

Re: bug reports

From: David Dorward <david@dorward.me.uk>
Date: Sat, 03 Jan 2009 15:58:30 +0000
Message-ID: <495F8B26.4030907@dorward.me.uk>
To: sink <haiweiyangsink@gmail.com>
CC: www-validator-css@w3.org

sink wrote:
> style="border:0;width:88px;height:31px"   couldn't pass XHTML 1.0 Strict,

Yes, it can.

> <img  width="88px" height="31px" />      will be better.

The width and height attributes take integers or percentages. Anything
with "px" in it is non-conformant (although this restriction is not
expressed by the DTD so your error wouldn't be picked up by a validator).

(Please direct responses to the www-validator-css mailing list, not
directly to me. Thanks).

-- 
David Dorward                               <http://dorward.me.uk/>
Received on Saturday, 3 January 2009 15:59:13 GMT

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