Jan 08 2008

IE7 Peekaboo bug, disappearing text

Category: CSS,Internet explorerpaomic @ 11:22 am

Sometimes when using IE6/IE7 a text will disappear, it will seem to be there but you won’t see it unless you highlite it. It’s called Peekaboo bug, some report it was corrected in IE7 but it doesn’t seem so to me.

How to solve the Peekaboo bug?

A solution is to add position:relative; to the containing div. It solved this issue for me. If you have any other solution feel free to post it!

Other resources: http://www.brownbatterystudios.com/s.. http://www.zeldman.com/2006/…

Share and Enjoy:
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • blinkbits
  • BlinkList
  • blogmarks
  • BlogMemes
  • blogtercimlap
  • Blue Dot
  • Book.mark.hu
  • Bumpzee
  • co.mments
  • De.lirio.us
  • Fark
  • feedmelinks
  • Fleck
  • Furl
  • Gwar
  • kick.ie
  • Linkter
  • Ma.gnolia
  • MyShare
  • Netscape
  • NewsVine
  • Scoopeo
  • Simpy
  • Slashdot
  • Smarking
  • Spurl
  • StumbleUpon
  • Taggly
  • Technorati
  • Webride
  • YahooMyWeb
Post Tagged:

16 Responses to “IE7 Peekaboo bug, disappearing text”

  1. Horia says:

    Hi, thank you very much for this solution. This bug was stalking me :)

  2. paomic says:

    You’re welcome! C ome bac soon for more CSS tips and tricks!

  3. Nicole says:

    Thank you! =)

  4. paomic says:

    You’re welcome!

  5. Ashley says:

    Thank you thank you thank you. I’ve been plauged by this bug for a days now and your tip worked!

  6. paul says:

    ah, you’re a freakin life saver!!!! i had been banging my head against a wall on this issue. simple and easy solution -thank you very much.

  7. Peekaboo Internet Explorer 7 | Still As Life says:

    [...] 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 [...]

  8. Tal says:

    thanks man,
    you’re the greatest!
    you saved my head from crashing into the wall
    I hate Internet Explorer – its developers are the worst, and got a lot to learn from mozilla developers

    have a great day my friend,
    T

  9. ency says:

    you can give a minimum width

    min-width:1px;

    it will trigger the “hasLayout” propery and show the text.

  10. Becheru Petru-Ioan says:

    I have a similar problem in my website( revistapadurilor.ro ). My solution beats all: in my php script i detect the brower and if it is MS IE i print a _ BEFORE the tag.

    [code]
    $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('_');
    ...

    [/code]

  11. Becheru Petru-Ioan says:

    edit: print _ before the html tag

  12. Rick says:

    i am not a developer but i am having a problem similar to this but it will not show. here is the pages in reference.

    http://optimumos.com/index.php?main_page=index&cPath=41
    If you highlight the entire page, the prices will show above the “Buy Now” button. However i can’t get them to show at all. I am using firefox and IE and it shows in none of them.

    the sencond page:
    http://optimumos.com/index.php?main_page=product_info&cPath=41&products_id=7756

    if you highlight the page you’ll notice that the Product name will show otherwise i’ve got nothing. Can anyone help. Keep in mind im not a developer mine just can’t fix the problem. he thinks “something to do with javascript and wrong css”

    HELPPPPPPPPPPPPPPP

  13. paomic says:

    Hi, you should try to put a color in the css class prodListPrice!

  14. Chelsea says:

    Thank you!!!

  15. andrew says:

    wow. this totally saved me. i was looking for a while for a solution to this bug. much appreciated. thanks!!!

  16. M Thorne says:

    I’ve spent all evening trying to figure out what I was doing wrong with this stupid bug. Thanks so much for posting this!

Leave a Reply