Description
This sample demonstrates the functionality of and difference between two CSS properties that hide and show data: visibility and display.
The visibility attribute allows content to be hidden, with the content still taking up space in the flow.
The display attribute allows the content to be removed from the flow, allowing creation of dynamic and interactive content such as outlines.
Browser/Platform Compatibility
Both attributes are supported in Dynamic HTML which is supported in Internet Explorer 4 and Internet Explorer 5.