W3C home > Mailing lists > Public > www-validator@w3.org > July 2005

[VE][108] Error Message Feedback

From: Albert Whale <aewhale@ABS-CompTech.com>
Date: Tue, 26 Jul 2005 00:21:00 -0400
Message-ID: <42E5BA2C.1060806@ABS-CompTech.com>
To: www-validator@w3.org

Thank you for your Validation Service.

While attempting to validate my Spam-Zapper.com website, I encountered 
the following error for this line:

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('/images/product.gif','/images/services.gif')">

Line 98 
<http://validator.w3.org/check?uri=http%3A%2F%2Fwww.Spam-Zapper.com&charset=%28detect+automatically%29&doctype=%28detect+automatically%29&ss=1&sp=1&No200=1#line-98>, 
column 17: there is no attribute "LEFTMARGIN"

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" 
onLoad="MM_p

You have used the attribute named above in your document, but the 
document type you are using does not support that attribute for this 
element. This error is often caused by incorrect use of the "Strict" 
document type with a document that uses frames (e.g. you must use the 
"Transitional" document type to get the "target" attribute), or by using 
vendor proprietary extensions such as "marginheight" (this is usually 
fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the 
document type you are using, as an undefined element will have no 
supported attributes; in this case, see the element-undefined error 
message for further information.

How to fix: check the spelling and case of the element and attribute, 
(Remember XHTML is all lower-case) and/or check that they are both 
allowed in the chosen document type, and/or use CSS instead of this 
attribute.



Unfortunately I have not found any CSS reference which will accomadate 
this feature.

Can you point me to a resource which can assist in getting my pages more 
compliant?

-- 
Albert E. Whale, CHS CISA CISSP
Sr. Security, Network, Risk Assessment and Systems Consultant
-------------------------------------------------------------------
ABS Computer Technology, Inc. - www.ABS-CompTech.com
SPAM Zapper - No-JunkMail.com - Spam-Zapper.com - SPAM Stops Here.
President of the Pittsburgh InfraGard Alliance
Received on Wednesday, 27 July 2005 09:00:05 GMT

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