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

[VE][108] Error Message Feedback

From: Referring organization <max@springtimesoftware.com>
Date: Thu, 12 Aug 2004 12:54:51 -0400
Message-ID: <000a01c4808d$18660620$f57a29d8@sys2>
To: <www-validator@w3.org>
W3C:

The LEFTMARGIN and similar attributes of BODY are valid in many version of Internet Explorer. To report them as invalid attributes under the doctype
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
seems to me unduly restrictive. Although these attributes are nonstandard, they do have a visual effect and therefore cannot be omitted without causing a difference in document layout between various browsers.

I think that HTML features required to make documents have the same layout under different browsers should not be marked as errors; in fact, their omission ought to be reported.

For style sheets to work correctly in the area of margin and padding, "<body>" is incorrect. The correct HTML for cross-browser use is "<body leftmargin=0 marginwidth=0 topmargin=0 marginheight=0>".

For validation to be useful, it must fit the real world, not be a punitive measure against manufacturers who ignore the standards. Compare with English dictionaries, which validate against correct common usage, not against an arbitrary standard.

David Spector
Springtime Software
Received on Thursday, 12 August 2004 17:57:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:08 UTC