Klippet fra
http://www.dansteinman.com/dynduo/en/showhide.htmlShowing and Hiding
You might ask yourself: \"Why does Netscape display the visibility as \'show\'?\"
Well the answer is that Netscape\'s CSS properties are based around it\'s proprietory LAYER tag. However, even Netscape is now downplaying it\'s LAYER tag in favour of the W3C\'s recommended CSS-P. So the \"show\" and corresponding \"hide\" values of the visibility property are left-overs from Netscape\'s layers. I believe this is the only glaring defect in how Netscape represents CSS-P.
Until there is a unified standard you\'ll usually have to write separate code to hide a particular element.
For Netscape
To show an element in Netscape you have to use:
document.divName.visibility = \"show\"
and to hide it\'s:
document.divName.visibility = \"hide\"
For Internet Explorer
To show an element in Internet Explorer you have to use:
divName.style.visibility = \"visible\"
and to hide it\'s:
divName.style.visibility = \"hidden\"