The IE 'non-disappearing content' bug

This bug is also published (more extensively) at Position Is Everything

Image courtesy to: Easterlingentertainment



The bug

In IE there seems to be a bug when hiding content within a hidden container div. The content will remain to be displayed, as can be seen when the container is re-shown again. It occurs in the following situation:

Try it

To the left is a container div (red square) containing an image (rabbit in hat).


This issue was first discussed in:, Ricardo Tomasi brought up the visibility:hidden work-around.

Paul Gobée, 23 Dec 2008.