|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have this line of code in all my <td> but i would like to make it standard to all my <td>
how can i make it possible?? can you help me to make it possible through CSS ... <td bgcolor="#F2F2F2" onMouseOver="this.bgColor='#FFFFFF'" onMouseOut="this.bgColor='#F2F2F2'">abc</td> thanks... Last edited by snalex : July 5th, 2003 at 08:51 AM. |
|
#2
|
|||
|
|||
|
Code:
td {
background-color: #f2f2f2;
}
td:hover {
background-color: #fff;
}
However, this is not supported in all browser (version)s. In IE5.5 for Windows, for example, this has no effect. Mozilla and Opera 7 deal with it properly. Hope this helps, Jeroen |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > How to change table color onMouseOver using CSS |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|