...

View Full Version : Form field on hover change color



Andy92
08-04-2007, 01:11 AM
Hi there,

I have a html form, with a few fields.

I have styled the fields with div classes, but how can i get it so that when someone hovers their mouse over the field, or selects it it changes colour?

I have read through some internet tutorials, but just cant get the hang of it.

:confused:

gemguy
08-04-2007, 05:32 AM
Hi,

Color of the text can be changed onmouseover using css hover. just use the below link.

http://www.hscripts.com/tutorials/css/mouse-over-effect.php

Also you can set the link to change its color if its already visited.

Andy92
08-04-2007, 11:40 AM
Ok, got it all sorted out now. Thanks!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum