Peekaboo Internet Explorer 7
February 13, 2009Matt 3 Comments »I posted yesterday regarding a problem I was having with Internet Explorer 7 rendering some JavaScript controlled pop ups incorrectly in one of my current projects.
I ended up fixing it by applying a position: relative; and z-index: 100; to each <p> tag. Nothing below 100 would display the text.
It turns out its a variant of the Internet Explorer 6 peekaboo bug. One of the guys over at Stack Overflow pointed me to a blog post on small-software-utilities.com where they listed finding a similar bug in Internet Explorer 7. Interestingly, their fix didn’t do it for me. I had to apply the z-index as well as the relative positioning before it was fixed. It would be nice if Internet Explorer could at least be consistent in it’s bugs!
Thanks to everyone that helped out!


February 13th, 2009 at 10:19 pm
[...] 2: Problem solved. Share and [...]
April 5th, 2010 at 7:49 am
I have a similar problem in my website( revistapadurilor.ro ). My solution beats all: in my php script i detect the browser and if it is MS IE, i print a _ BEFORE the tag
$known = array('msie', 'firefox', 'safari', 'webkit', 'opera', 'netscape', 'konqueror', 'gecko'); preg_match_all('#(?' . join('|', $known) . ')[/ ]+(?[0-9]+(?:\.[0-9]+)?)#',strtolower($_SERVER['HTTP_USER_AGENT']),$browser); if($browser['browser'][0]=='msie') print('_'); ...April 5th, 2010 at 7:49 am
edit: before the html tag