Microsoft KB Archive/250347

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 12:52, 21 July 2020 by X010 (talk | contribs) (Text replacement - """ to """)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


PRB: Visibility of a Parent Element Does Not Affect Visibility of Its Child

Article ID: 250347

Article Last Modified on 7/20/2001



APPLIES TO

  • Microsoft Internet Explorer 4.0 128-Bit Edition
  • Microsoft Internet Explorer 5.0



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:


Additional query words: DIV SPAN Style.visibility

Keywords: kbprb kbdhtml KB250347