I have this spry drop down menu and whenever you hover over a menu item using IE6, the hover color changes to #88b2ea. Problem is that IE6 is choosing that color automatically and I cannot figure out how to change it. Any ideas?
Too bad Javascript is required to view content : (
So based on just your text, likely IE6 is just taking some older value and really wants you to be more specific.
In making dropdowns (and tables and other things) I’ve sometimes found that IE6 required me to make a separate, hidden-away statement that was simply more specific for link colours. I would hide them behind the Tan Hack just to make sure repeating something didn’t screw with other browsers:
(some page I had a calendar table with clickable days)
td {
colour set here;
}
td a {
styles and link colour here;
}
td a.foo {
other styles;
}
td a:hover {
special hover styles and colour;
}
IE would then need something like
html #table td a { color: #f00;}
and
html #table td a:hover {color: #0f0;}
or something.
At least testing that out could tell you if my hunch is in the right direction.
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
{
background:url(../_images/linkBackground.png) repeat-x;
color: #FF0;
text-decoration:underline;
}
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
{
background:url(../_images/linkBackground.png) repeat-x;
color: #FF0;
}
Have you updated the link as I’m seeing something different in Ie6? (I believe you also need to the whatever:hover with that script if you want to add transparency on rollover in IE6 (unless your other script is handling it somehow))
I’ll look into both suggestion and get back with an update. I did clear my cache however and even tried it on a different computer and I’m still getting the same effect.