Sunday, December 03, 2006

The Return of the Peek-A-Boo

I thought the Internet Explorer 7 had fixed the peek-a-boo bug, but I was wrong, it is still there. I came across this while creating a new site with a floated element. My jaw nearly fell off when I launched the new site in IE7 and saw the floated element disappear. The text in the element is still ‘there’, but invisible. I can still click on the now invisible links inside the invisible floated element.

I set the containing element’s height to 1% and the floated element is now visible in IE7 (always was in Firefox).

How amazing that Microsoft was not able to fix such a long standing bug.