PRB: Visibility of a Parent Element Does Not Affect Visibility of Its Child (250347)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 4.0
- Microsoft Internet Explorer (Programming) 5
This article was previously published under Q250347 SYMPTOMS
Setting a parent element's visibility to "hidden" does not hide its child element.
CAUSE
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.
RESOLUTION
A child element's visibility must be set back to inherit for it to take on the parent's attributes.
STATUS
This behavior is by design.
REFERENCES
For additional information, see the MSDN Online Web Workshop on visibility:
Modification Type: | Major | Last Reviewed: | 7/20/2001 |
---|
Keywords: | kbDHTML kbDSupport kbprb KB250347 |
---|
|