By soezkan on
Hi folks,
since 30% of all internet users still use the IE6 I have to
configure my CSS that they can also see, when a menu-item
is active.
But I really don't know how to fix this, excuse my saying so, bullshit,
which only doesn't work with IE6!!!
<ul class="links primary-links"><li class="menu-979 active-trail first active"><a href="/preview/?q=node/46" title="About" class="active">About</a></li>
<li class="menu-987"><a href="/preview/?q=node/62" title="Informations">Informations</a></li>
<li class="menu-973"><a href="/preview/?q=node/51" title="Downloads">Downloads</a></li>
<li class="menu-977"><a href="/preview/?q=node/55" title="Contact">Contact</a></li>
<li class="menu-975 last"><a href="/preview/?q=node/53" title="Legal notice">Legal notice</a></li>
</ul>
Though there is a class="active" in my li-list bloody IE6 just ignores it because
it can't interprete class combinations like "menu-979 active-trail first active".
But how in the world can I fix that?
Best,
Soezkan
Comments
Ie 6 can interpret multiple
Ie 6 can interpret multiple classes in html, but not in css selectors. Can you show us the css that isn't working?
This is the important part of
This is the important part of the CSS which plays a role
in the menu I mentioned above:
You CSS looks fine, I don't
You CSS looks fine, I don't see anything that would not be supported by IE6. Can you point out exactly which CSS rule is ignored by IE6?
The first one which should be
The first one which should be highlighted.
I mean, the arrows are shown but the link text, in this case "About",
remains at its original colour, which is white, but ought to be black:
The following link is ignored and I don't know how to access a link within a menu-item:
Thanks
Soezkan
I suspect that this is a
I suspect that this is a specificity problem: possibly, IE6 treats
ul.primary-links li a:linkas more specific thanul.primary-links li a.active. Can you try changing the last 3 lines of the css to this:Nothing changed, still the
Nothing changed, still the same. I even found that when I
do it as you suggested, also Firefox does not highlight the
link anymore.
What is really funny, is that the secondary menu shows the
highlighted links correctly in IE6:
This active one appears correctly:
and this is the CSS snippet
Any other ideas?