Microsoft KB Archive/250347: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - """ to """)
 
Line 45: Line 45:
== SYMPTOMS ==
== SYMPTOMS ==


Setting a parent element's visibility to "hidden" does not hide its child element.
Setting a parent element's visibility to "hidden" does not hide its child element.


</div>
</div>
Line 52: Line 52:
== CAUSE ==
== CAUSE ==


A child element inherits its visibility from a parent only when the style is set to &quot;inherit.&quot; When the style for the child is set to &quot;hidden&quot; or &quot;visible,&quot; the child does not inherit the visibility of the parent.
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.


</div>
</div>

Latest revision as of 12:52, 21 July 2020

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