W3C home > Mailing lists > Public > www-validator@w3.org > August 2006

Re: Valid Site html section non validating in xhtml..

From: David Dorward <david@dorward.me.uk>
Date: Thu, 10 Aug 2006 16:38:56 +0100
To: "J. Greenlees" <jaqui@jaqui-greenlees.net>
Cc: www-validator@w3.org
Message-ID: <20060810153856.GF12733@us-lot.org>

On Thu, Aug 10, 2006 at 02:18:20AM -0700, J. Greenlees wrote:
> Non Valid code in xml docuents with css:
>   <p>
>     <a href="http://validator.w3.org/check?uri=referer"><img
>         src="http://www.w3.org/Icons/valid-xhtml10"
>         alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a>
>   </p>

If I understand your argument correctly:

The validity of some markup is dependent on the DTD specified in the
Doctype, not the use (or otherwise) or a stylesheet.

The height and width attributes exist for all published versions of
XHTML, including Strict variants. Arguably, they belong there as they
describe the image rather then define its presentation (at least so
long as you use them to specify the actual pixel dimensions of the
David Dorward                                      http://dorward.me.uk
Received on Thursday, 10 August 2006 15:39:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:49 UTC