Microsoft KB Archive/242199

= Access Violation in Mshtml Using Style Attribute Value "display:hidden" =

Article ID: 242199

Article Last Modified on 10/1/2002

-

APPLIES TO


 * Microsoft Internet Explorer 5.0

-



This article was previously published under Q242199



SYMPTOMS
When you view a Web page that contains a style attribute value of "display:hidden" you may receive an "Access violation" error message in Mshtml.dll.



CAUSE
To hide the content, use the "visibility:hidden" value for the style attribute.



RESOLUTION
This problem does not occur in Internet Explorer version 5.01.



WORKAROUND
If you do not want the elements to take up space when they are hidden, set the elements to use a style value of "display:none". In addition, switch the placement of the two lines containing the following elements:

p style="display:none"

/span



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Keywords: kberrmsg kbprogramming kbprb KB242199

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.