I’m using a CSS hover method that displaces part of an image to create a hover effect (once the mouse is placed over the image, the other half of the image is “uncovered” or “slides over”, making it appear as a mouse over effect).
The navigation bar on this page uses that CSS hover effect. But the menu buttons are falling under one another instead of appearing inline, one after the other. How do I fix that?
That line of code sets haslayout on the element for IE6 because elements in haslayout mode will clear their floated children automatically. IE6 doesn’t understand that overflow:hidden contains child floats. The overflow:visible is a safety net because of the overflow:hidden in the main rule which could end up hiding anything above 1%.