[thelist] style.display in NN6

Peter-Paul Koch gassinaumasis at hotmail.com
Thu Dec 20 04:37:48 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.

Try display: table-row

When I wrote such a script for 6.1 I really needed it, block gave strange 
results. But apparently it does work in 6.2, no problems in that version.

ppk

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com





More information about the thelist mailing list