View Full Version : CSS Form Button with Rollover Effect?
RonSanSolo
10-03-06, 09:32 PM
I've styled my form buttons in MM5 using CSS. Is there a way to create a rollover effect (ie. hover) using CSS on these form buttons?
Thanks,
Ron
Vic - WolfPaw Computers
10-03-06, 09:39 PM
Certainly.
Do a search on Google for css and using css for a, hover and v links.
Brandon MUS
10-03-06, 10:05 PM
the :hover pseudo-class is not supported by IE except for the link tags (a:hover). Mouseover effects for form buttons are normally managed by javascript functions.
RonSanSolo
10-03-06, 10:17 PM
Thanks, Brandon.
I wasn't sure. I thought I may have to go the javascript route.
Brandon MUS
10-03-06, 10:22 PM
I recommend using className (http://www.quirksmode.org/dom/classchange.html) vs. inline styling.
Red Flare
10-04-06, 10:15 AM
Look at my site, we have CSS with "rollover" effect in the cat tree
Brandon MUS
10-04-06, 05:06 PM
links are one thing and IE agrees with that, I thought the question was using form buttons (<input type="image/button/submit" />), which isn't supported by IE.
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.