Microsoft KB Archive/250347
Article ID: 250347
Article Last Modified on 7/20/2001
- Microsoft Internet Explorer 4.0 128-Bit Edition
- Microsoft Internet Explorer 5.0
This article was previously published under Q250347
Setting a parent element's visibility to "hidden" does not hide its child element.
A child element inherits its visibility from a parent only when the style is set to "inherit." When the style for the child is set to "hidden" or "visible," the child does not inherit the visibility of the parent.
A child element's visibility must be set back to inherit for it to take on the parent's attributes.
This behavior is by design.
For additional information, see the MSDN Online Web Workshop on visibility:
Additional query words: DIV SPAN Style.visibility
Keywords: kbprb kbdhtml KB250347