Jim Maciorowski wrote: > As I am borrowing the following code from Netmind and their customer service is none-to- > second, perhaps someone on this list could give me a clue. I've validated the following > code from my web page using TidyGUI and it comes back as being fine: > <input type="image" > src="http://mindit.netmind.com/images/mindit.gif" border="0"> > But when I run it through the validator, it errors on "border": > border="0"></td> ^ > Error: there is no attribute "BORDER" > So I'm kinda lost at this point...which is correct? According to HTML 4.01 (and XHTML 1.0), border can only be applied to <table>, <img>, and <object>. See <http://www.w3.org/TR/html4/index/attributes.html>. AFAIK, there was never an HTML version that allowed border on <input>. Note that this means you cannot have a <input type="image"> appear sans border in NS4 and still be valid. If TidyGUI is not flagging this as an error, it's broken or it's validating against a proprietary (non-W3C) DTD. Thanasis Kinias Information Dissemination Team, Information Technology Arizona State University Tempe, Ariz., U.S.A. Qui nos rodunt confundantur et cum iustis non scribantur.Received on Thursday, 22 February 2001 17:04:54 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:56:57 GMT