Forum Moderators: not2easy
<div id="main">
[...]
</div>
<div id="menu">
<h3>Menu</h3>
<ul>
<li><a href="index.html">Main</a></li>
<li><a href="about.html">About</a></li>
<li><a href="artists.html">Artists</a>
<ul>
<li><a href="accessories.html">Eminem</a></li>
<li><a href="aerosmith.html">Aerosmith</a></li>
<li><a href="theark.html">The Ark</a></li>
</ul>
</li>
<li><a href="credits.html">Credits</a></li>
</ul>
</div>
And the CSS:
#main {
float : right;
width : 70%;
padding : 2%;
margin : 2%;
}
#menu {
width : 12%;
padding : 0% 2% 0% 2%;
margin : 2%;
}
#menu ul {
margin-left : 10%;
}
#menu li {
margin : 0%;
padding : 0%;
}
Thing is, this works in IE 5.0, but not in IE 6.0, and I'm using full doctype (HTML 4.01 Strict, and yes, it validates). CSS also validates with no errors. What happens when I run this code is that the menu renders, but as soon as I mouseover above any of the links, the link and the element directly above jumps to the left. I have no idea what's causing this, anyone knows a solution?
Thanks
[webmasterworld.com...]
And we had a thread on usenet as well which you can find through Google groups [groups.google.com]. Search for "jumping links bug" or "guillotine bug" and you'll find more.
It is one of the most obscure and exasperating bugs I've encountered. You can spend hours and never figure out what the cause is without some clues.... I believe you'll find if you change the % values you are using to some other measure, like em's, it may go away. There isn't any true "fix" that I know of, but I'd be glad to hear otherwise.