Re: Error Message Feedback

On Mon, Jul 31, 2006 at 07:15:32PM +0500, Saad Salman wrote:
>    The height attribute has been disabled in XHTML but why are you writing it
>    in the code you provide for the validator link?:

The height attribute for td, th and applet elements was deprecated in
HTML 4. It was not deprecated for img elements.

XHTML 1.0 makes no changes to HTML 4.01 except those required by the
XML specification (which, when it comes to elements and attributes,
basically means that xmlns has been added).

Additionally, there is a strong argument that the height and width
attributes for images describe the image rather then how it should be
presented (at least if they are set to the native dimensions of the
image) and thus should be part of HTML, not a stylesheet.

>    I use style="height:31" as a replacement to height attribute.

This is invalid CSS. Non-zero lengths require units.

(I read the mailing list, please direct responses there and do not CC
me. Thanks).

-- 
David Dorward                                      http://dorward.me.uk

Received on Monday, 31 July 2006 15:17:21 UTC