BUG: <DIV> tags are positioned incorrectly in IE 4.01Last reviewed: March 19, 1998Article ID: Q182688 |
The information in this article applies to:
SYMPTOMSPlacing two <DIV> tags on a Web page with relative positioning causes the second <DIV> to be positioned to the right of the first. In Internet Explorer 4.0, the second <DIV> is positioned below the first.
RESOLUTIONPlace a <BR> or <P> tag after the first <DIV> tag.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Behavior
Expected Behavior: "Div Two" should be displayed below "Div One." This worked in Internet Explorer 4.0. Placing a <BR> or a <P> after the first </DIV> corrects this problem but places an extra line break between the two <DIV> tags. This HTML works correctly:
<HTML> <BODY> <DIV ID=one STYLE="position:relative;width:200" onclick="document.all.two.style.display = '';"> Div One </DIV> <BR> <DIV ID=two STYLE="position:relative;width:200;display:none"> Div Two </DIV> </BODY> </HTML> REFERENCESDynamic HTML section of the Internet Client SDK Help:
http://www.microsoft.com/msdn/sdk/inetsdk/help Keywords : AXSDKIESripting Technology : internet kbInetDev Version : WINDOWS:4.01 Platform : WINDOWS Issue type : kbbug Solution Type : kbpending |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |