On Thu, 15 Feb 2007 17:33:59 +0100,
la***********@zipmail.com
<la***********@zipmail.comwrote:
Hi,
Can anyone recommend a good site that has example of css designed
buttons with roll over states? I want to make nice "Save" and
"Cancel" buttons but would prefer not to use Photoshop when CSS can
achieve something just as good.
Rollovers on buttons can be made without problems with the CSS specs.
Browsers implementation of this varies though, so if you want rollover
effects you're usually stuck using javascript on the side.
This will work wonders in Opera, no go in MSIE:
input[type=submit]{
background-color: yellow;
}
input[type=submit]:hover{
background-color: red;
}
I usually leave most of the rendering of form controls alone though.
There's something to be said for just recognizable default rendering
instead of of custom layouts which may confuse the user, making it unclear
what their actual purpose is. So unfortunately, I don't have an site ready
for you, but there are lots around. Googling for "html form rollover"
should get you loads of examples though.
--
Rik Wasmus