|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Mouse Over on Style
I have the following style:
.button { width:270; font: 12px arial; font-weight: bold; border: 1px solid #000000; background-color: #CCCCCC; padding-top:0px; padding-bottom:0px; padding-left:0px;CURSOR:HAND;} It sets my buttons to a nice look I have. When the cursor is moved over the button, it changes to a hand. I want to modify it now so that when the mouse is moved over the cursor, the font color changes. Any ideas? |
|
#2
|
|||
|
|||
|
RE: Mouse Over on Style
this works only in mozilla/FF, you need JS to make it work in IE..
Code:
input.button:hover {
color: red;
}
|
|
#3
|
|||
|
|||
|
RE: Mouse Over on Style
i use this to make ie behave. then you can use css.
http://www.xs4all.nl/~peterned/csshover.html if you want to make ie even more css compliant, you can take a look at http://dean.edwards.name/IE7/ it works very well in my experience, but its a lot of js for the cleint to download. if you only need the hover part fixed, id recomend the first link i posted as the code base is a lot smaller. |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Mouse Over on Style |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|