PDA

View Full Version : Simple CSS code



dburdon
01-06-2006, 10:34 AM
I'm looking for some simple CSS code to change the colours of website buttons during "mouseover".

Cutter
01-06-2006, 11:01 AM
You want something like:

A:hover { color:#FF0000; text-decoration:none }

But, if its buttons, its probably background color you want to change.

r2d2
01-06-2006, 11:11 AM
Lots of CSS rollover effects here: http://www.pmob.co.uk/

MarkB
01-10-2006, 10:21 AM
Some wonderful examples:

http://exploding-boy.com/images/cssmenus/menus.html
http://exploding-boy.com/images/EBmenus/menus.html

dburdon
01-11-2006, 02:38 AM
Cutter, MarkB, R2D2,

thanks for your help. I'll give your suggestions a try.

dburdon
01-19-2006, 04:54 AM
R2D2,

I ended up going with your advice.

Many thanks.

r2d2
01-19-2006, 05:07 PM
No problem - glad to help. Though obviously it was Paul O'B's site that had the advice :)

He runs the CSS forum over at SitePoint: http://www.sitepoint.com/forums/forumdisplay.php?f=53