The IE 'non-disappearing content' bug

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

Image courtesy to: Easterlingentertainment
Position



Display



Visibility

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).

'Fixes'


This issue was first discussed in: http://groups.google.com/group/jquery-en/browse_thread/thread/429f63dcb679da23#, Ricardo Tomasi brought up the visibility:hidden work-around.

Paul Gobée, 23 Dec 2008.