I have some css like so
#menu li
{
color:#336633;
}
.hover
{
color:#ffffff;
background-color:#336633;
}
I am using jQuery's hover like so on hover: addClass('hover'); on out: removeClass('hover');
This changes the background color but not the font color. I suspect this is because the class is being applied first and then the default li behavior gets applied? Is there an easy way to make this work? I don't want to use a class for default li behavior, then remove it, apply hover and reapply default.
Thanks