I have the following CSS class:
.hidden {
visibility: hidden;
position: absolute;
}
I have div with that class on it. If I remove the class, the div doesn't show. But the second time I "remove it", the div shows. Any idea why? See a stand-alone example using YUI for this:
http://avernet.googlepages.com/ie-visibility.html (code also available on Pastie)
Note: I can't use display: none
in my case (which otherwise would have worked).