W3C home > Mailing lists > Public > www-validator@w3.org > March 2008

Re: validation confusion

From: Chuck Houpt <chuck@habilis.net>
Date: Wed, 5 Mar 2008 08:16:22 -0500
Message-Id: <a06240800c3f4453a07d3@[192.168.1.153]>
To: judy@hausintaus.com
Cc: "www-validator@w3.org" <www-validator@w3.org>

Hi Judy,

The first error can be fixed by simply removing the "scroll" 
attribute from the body element:

scroll="auto"

"Scroll" is a IE-only attribute. I don't think the setting is 
important for your pages, because they are long enough to always 
display scroll bars. References:

http://www.htmlcodetutorial.com/document/_BODY_SCROLL.html
http://msdn2.microsoft.com/en-us/library/ms534393(VS.85).aspx

The second error can be fixed by removing the "border" attribute from 
the input elements:

border="0"

"Border" for input elements is a Netscape-only attribute. It seems to 
be defaulted to zero in recent versions of Firefox. Reference:

http://www.htmlcodetutorial.com/forms/_INPUT_BORDER.html

If some browsers show borders around input images, they can probably 
be eliminated with some CSS like:

input { border: none; }

Cheers - Chuck
Received on Wednesday, 5 March 2008 13:17:03 GMT

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