W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2000

RE: How do I use CSS to fake a button?

From: Dave J Woolley <DJW@bts.co.uk>
Date: Wed, 19 Jul 2000 11:44:48 +0100
Message-ID: <81E4A2BC03CED111845100104B62AFB5824815@stagecoach.bts.co.uk>
To: w3c-wai-ig@w3.org
> From:	Bruce Bailey [SMTP:bbailey@clark.net]
> Is there a way to use CSS to make hypertext look like a button?  I know
> how to change the
> appearances of links, but my experimentation has not gotten me anything
> that comes close to
> approximating a "raised three dimensional" look that users have come to
> expect of graphical
> image buttons.
	[DJW:]  This is an area where HTML got it wrong.  There is a button
	element, which does this, but there is no fallback mechanism for
	Moreover IE4 implements is wrongly (it fails to send the value when
	used as a submit button - Lynx gets this right, even though it is
	not graphical!).

	Simulation with CSS doesn't work quite the same as a real button, 
	because buttons can remain active after they are released (in
	at least).  Also Netscape 4 seems to apply the style to the next
	element, typically resulting in a zero sized graphical button below
	to the right of the intended button - this is not quite that
Received on Wednesday, 19 July 2000 06:52:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:35:57 UTC