- From: Dave Raggett <dsr@w3.org>
- Date: Mon, 28 Jul 1997 09:20:00 -0400 ()
- To: MegaZone <megazone@livingston.com>
- cc: www-html@w3.org
On Fri, 25 Jul 1997, MegaZone wrote: > >> <INPUT TYPE=image SRC="buttonup.gif" PRESSED="buttondn.gif"> > > The two image problem was menitoend (when do they load? What if they > are different sizes? etc...) > > How about this: > > <INPUT TYPE=image SRC="buttonup.gif" PRESS> > > This just does what the BUTTON element does. Same image, but > rendered with that psuedo beveled effect for the look of being > pressable. The HTML working group opted for the BUTTON element when you want this effect, e.g. <BUTTON type=submit><IMG src=button.gif></BUTTON> Another possibility was to support the SRC attribute with the INPUT element and type=button, e.g. <INPUT type=button value="Order Now!" src="ordernow.gif"> But this approach was regarded as being less flexible than the BUTTON element which permits richer button content. Regards, -- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett phone: +44 122 578 2521 (office) +44 385 320 444 (gsm mobile) World Wide Web Consortium (on assignment from HP Labs)
Received on Monday, 28 July 1997 09:28:22 UTC