Multimedia and Web Design Firm
Flash replacement

Absolute DIV not showing in IE6 / IE7 – Internet Explorer

Iv come across this problem a few times now and this should be of help to a few people.

When placing an absolute div within a relative positioned div, in IE6 and IE7 that div disappeared. The content within the div and the div just would not show. An immediate response would be to think of the stack and z-Index but after a few tests it wasnt that.

The Fix: Simply surround the absolute div with another empty div.

Did it work? Another similar problem? Leave a comment.

7 Responses to “Absolute DIV not showing in IE6 / IE7 – Internet Explorer”

  1. bill Says:

    no.
    nice 1.

  2. joel Says:

    Thank you. Who would have guessed.

  3. Bloody Divs Says:

    worked for me, thanks a ton – and nice windmills

  4. Nick Barnes Says:

    Wow, thanks a ton. I was baffled at that for a minute on a site I’m making.

  5. DK Says:

    Thank you so much!

  6. JTB Says:

    Worked here. Thanks very much.

    Any idea why this happens?

  7. Shannon Says:

    Thank you for this post, you have solved a all of my problems, and saved me many hours recreating the pages.

Leave a Reply

Telephone:

+44 (0)1224 582948

Office Address:

60 Nelson Street,
Aberdeen,
Scotland,
AB24 5ES