The object that absolute located in IE6 disappears!
When I made a page today, I encountered a layer that needed to be positioned as absolute. Of course, the first thing I thought of was to set the parent object to relative. There was no problem in viewing the page in Firefox, however, when you open IE6 to view the page, you cannot find the Absolute layer!
It's really depressing. I have met this rare situation !..
I first thought of removing the top and left of the absolute layer, refreshing the page, and still cannot see it in IE6, so that I can determine that it is irrelevant to top and left.
In fact, this is a bug in IE6! The Absolute layer has no placeholder, so we can add a div outside the Absolute layer, as shown below:
<Div style = "position: relative;">
<Div>
<Div style = "position: absolute;"> Absolute layer </div>
</Div>
<Div> layer on the left! </Div>
<Div> layer on the right! </Div>
</Div> As shown above, after adding a DIV, it can be correctly displayed.