W3C home > Mailing lists > Public > www-validator@w3.org > October 2009

outright error in error message?

From: Magda Wojtyra <magda@rna.ca>
Date: Thu, 29 Oct 2009 15:13:50 -0400
To: <www-validator@w3.org>
Message-ID: <008801ca58cb$f3a5b890$daf129b0$@ca>
Attribute "BORDER" is not a valid attribute. Did you mean "border"? 

..go" width="980" height="133" border="0" usemap="#logo_mouse"
class=logo_heade

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). 

--------

 

As you can see in the code snippet, I AM using lower case for "border". So
why does it think it's in capitals? Very frustrating to get many repeated
non-error errors like this!!

 

I am using <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> and the
element in question is an image, so a border is perfectly fine. 

 

Thanks for reading, 



Magda :)
Received on Thursday, 29 October 2009 20:42:04 GMT

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