[RESOLVED] [2005] :hover pseudo-class help
Hello,
I am new and rubbish with anything ASP so bare with me.
Can you use the ':hover pseudo-class' to change the background colour of an ASP panel when the mouse hovers over it?
e.g
Code:
.panel
{
background-color: Blue;
}
.panel:hover
{
background-color: White;
}
I think i have referenced the CSS class in the correct places but the panel stays blue when the mouse hovers over it.
Thanks,
Mojo
Re: [2005] :hover pseudo-class help
the problem is the compatibility. Actually this will work in all modern browsers except Internet Explorer 5 and 6. Give it a try the same style in FF and it will work. Shame i know.
Re: [2005] :hover pseudo-class help
Thats pretty rubbsih that it doesn't work in 6 as i need it to. Thanks for your help though. It does work in FF as you suggested.
Re: [2005] :hover pseudo-class help
Only god knows why the FF and IE staff still refuse to sync the CSS support and make it easier for the developers. Inded, I cannot understand their stupid war while we are bumping and hitting our heads on the wall. :(
Re: [2005] :hover pseudo-class help
You may want to consider a javascript based solution in the interim if this 'hover' functionality is important to you.
Re: [2005] :hover pseudo-class help
Thanks, i will look into a way of doing this using javascript.