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

Re: Some little error

From: Liam Quinn <liam@htmlhelp.com>
Date: Thu, 30 Jan 2003 15:28:18 -0500 (EST)
To: "Fernando J. Pereda" <ferdy@ferdyx.org>
cc: www-validator@w3.org
Message-ID: <Pine.LNX.4.44.0301301526560.18241-100000@localhost.localdomain>

On Thu, 30 Jan 2003, Fernando J. Pereda wrote:

> When validating a XHTML1.1 page the code it gives you (to put the valid image)
> doesn't validate itself as XHTML1.1....
> 
>     <p>
>       <a href="http://validator.w3.org/check/referer"><img
>           src="http://www.w3.org/Icons/valid-xhtml11"
>           alt="Valid XHTML 1.1!" height="31" width="88" /></a>
>     </p>
> 
> maybe it should be:
> 
>     <p>
>       <a href="http://validator.w3.org/check/referer"><img
>           src="http://www.w3.org/Icons/valid-xhtml11"
>           alt="Valid XHTML 1.1!" style="height:31;width:88" /></a>
>     </p>
> 
> It's not an error itself.... but it may confuse somebody.

width and height are valid attributes of img in XHTML 1.1.

(You're missing the required unit identifier in your style attribute.  It 
should be style="height:31px;width:88px".)

-- 
Liam Quinn
Received on Thursday, 30 January 2003 15:28:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:05 GMT