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: Karl Ove Hufthammer <huftis@bigfoot.com>
Date: Wed, 19 Jul 2000 00:34:27 +0200
Message-ID: <014c01bff10a$d43e8fa0$d8448ed5@huftis>
To: <webmaster@dors.sailorsite.net>, <w3c-wai-ig@w3.org>
----- Original Message -----
From: "Bruce Bailey" <bbailey@clark.net>
To: <w3c-wai-ig@w3.org>
Sent: Tuesday, July 18, 2000 11:20 PM
Subject: How do I use CSS to fake a button?

| This is related to my earlier kiosk question.
|
| 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.

You can take a look at a test case I wrote for the Mozilla browser <URL:
http://home.no.net/huftis/mozilla/gammalt/hover.html >. This works in (at least)
IE 5, Mozilla and Opera. You can also use background images instead of just
colours (but remember to specify the background colour too, for people who have
image loading disabled).

-- 
Karl Ove Hufthammer
Received on Tuesday, 18 July 2000 18:52:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:13:49 GMT