(Rpm) IE6 / IE7 the position: absolute; absolute positioning offset problem does not show

In fact, the reason is because the parsing IE6 / IE7 is in position: After the absolute, will still be resolved in accordance with the general flow of the document, and to break this way, get it to work you need to give it a position, specific code is as follows:

method one:

CSS:
Here Insert Picture Description
HTML Code:
Here Insert Picture Description
Remember left: 0px; two must have to write, write a few can cause is not displayed:

Method 2: In each position: absolute; in front of an empty element plus div

Here Insert Picture Description

Guess you like

Origin blog.csdn.net/sinat_35438535/article/details/95317823