[thelist] Validation question

Chris W. Parker cparker at swatgear.com
Wed Jan 8 12:31:01 CST 2003


Roger Ly <mailto:rogerly at bareviking.com> wrote:

> It says that width, height and border are deprecated attributes for
> <input> tags.  I can see omitting the width/height tags (though I
> would imagine it would make rendering the button a little slower for
> the browser since it has to calculate the size of the image, but when
> I omit the border attribute, Netscape puts the silly blue border
> around the button when it renders the page (since it defaults to
> border=1).
>
> I can't seem to come up with a good CSS style that will allow me to
> set the border=0 in Netscape.

> Any thoughts?

two, to be exact.

1. your page will functionally work the same whether or not it
validates. the technicality of the page is what people get worked up
about. in other words, it's not really a big deal if you leave
border="0" in your code and your page doesn't officially validate.

2. i don't think you have a choice, ns4.x (afaik) does not support the
border attribute. i could be wrong. someone let me know.


chris.



More information about the thelist mailing list