[thelist] style.display in NN6

Sam-I-Am sam at sam-i-am.com
Wed Dec 19 17:29:05 CST 2001


http://sam-i-am.com/testsuite/dhtml/setting_style_display.html

I want to show/hide an element within the document flow. My
understanding is that I should be able to dynamically set the elements
style.display property to accomplish this in IE5/NN6. And it __kind__ of
works in NN6, but you'll see it does funky stuff when you go to
expand/show the element again. 

I did some tests earlier toggling between 'none' and 'block' and that's
even worse - in NN6 (I'm testing in 6.1) the property sticks, but
doesn't redraw. 

any insights anyone can offer?

thanks
Sam




More information about the thelist mailing list