Forum Moderators: not2easy
Bug in: IE6/Win
Code is: Valid XHTML and CSS
I have a few links that when hovered in IE6 cause a very noticeable (20 or so pixels) gap to suddenly appear in the parent container. Everything looks fine when the page loads (and when reloaded) - the gap only appears when you hover over one of these suspect links. And the gap stays after hovering... it is behaving almost like a reverse guillotine (referencing, of course, the well documented "IE/Win guillotine bug").
This is all occurring within a rather complicated layout, with nested floats, some abs positioning etc - hence why I've not yet worked out a suitable test case for myself much less to post here. Here is what I think is relevant:
(I've got other examples of this same behavior happening under much less complex scenarios, and in one case a simple {display:inline;} applied to the offending link fixed it - no help here however)
Roughly I believe what is happening is that IE6 renders the parent container's dimension(s), and the hover activates a complete redraw that changes the layout of parent container - and causing this gap. Given the complexity, I'm actually assuming there is more than one bug occurring simultaneously... but I am almost certain hasLayout is the underlying issue -- I just can't find which elements to apply which fixes too!
OK - I know, we need a test case! I am working on it ;) - but if just the general description here sounds familiar and anything comes to mind, please do post or sticky a reply.
... and I'll get that test case posted here ASAP. Thx.