W3C home > Mailing lists > Public > www-validator@w3.org > February 2001

RE: Validating "Input" Tag

From: Thanasis Kinias <tkinias@asu.edu>
Date: Thu, 22 Feb 2001 15:43:11 -0700
To: "'Orso Grigio'" <grizzly@worldonline.it>
Cc: "'CJ Jimmymac (Jim Maciorowski)'" <jimmymac@citicom.com>, www-validator@w3.org
Message-id: <A021872EC2BDD411AB3600902746A05501604786@mainex4.asu.edu>
Grizzly wrote:

> something like <input type="image" src="xxx" style="border: 0;"> does
> not apply?

style="border: none" or something similar is the valid way of doing it, but
NS4 will ignore that and put the border on anyway.

It's the same as with <img> elements; you can declare style="border: none"
all day long, but NS4 will give them a border if inside an <a> element
unless you put border="0".  The difference is that border is a valid
attribute on <img> in HTML 4.01/XHTML 1.0 Transitional, but it's never valid
on <input>.

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:50:58 GMT

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