W3C home > Mailing lists > Public > www-html@w3.org > December 1998

Re: Image Button Height/Width?

From: Jukka Korpela <jkorpela@cc.hut.fi>
Date: Wed, 2 Dec 1998 15:47:23 +0200 (EET)
To: www-html@w3.org
Message-ID: <Pine.OSF.3.96.981202153918.21900B-100000@beta.hut.fi>
On Tue, 1 Dec 1998, Tom Neff wrote:

> Given that HEIGHT and WIDTH are important for graphical browser
> pre-rendering without disruptive redraws, why doesn't the HTML 4.0 DTD
> permit INPUT SRC=button.gif HEIGHT=54 WIDTH=27, even at this late date?

It seems unnecessary in general to introduce new presentational
attributes. Image buttons in general are very risky, see

> We make all this fuss over using dimensions (along with ALT) in regular
> images, and we don't even allow it in buttons.

We do? There are good reasons _against_ using dimensions for regular
images especially if they are small. See

So in addition to the fundamental (or "theoretical", if you like)
reasons against presentational attributes (especially those specifying
dimension in pixels), we have the very practical reason that
popular browsers have serious bugs and deficiencies in the implementation
of both IMG and INPUT TYPE="image". By the time the bugs have been
fixed, I'd expect some decent CSS1 support exist, too.  

Yucca, http://www.hut.fi/u/jkorpela/ or http://yucca.hut.fi/yucca.html
Received on Wednesday, 2 December 1998 08:47:31 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:49 UTC