IE 7 bug: abs. positioned element has an implicit value of left
right next to right edge of the previously floated element
This bug remained from IE6. It is also present in the IE5/Mac.
This is floated element.
This is abs. pos. element with top: 0
, no left
Example 2
The absolutelly positioned element is placed after two floated elements.
This is floated element.
This is another floated element in the container.
This is abs. pos. element with top: 0
, no left
Example 3 - works
Since there is a static paragraph just before the abs. pos. element, the element is placed consistent with other browsers.
Non floated paragraph
This is floated element.
Non floated paragraph
This is abs. pos. element with top: 0
, no left
This works
You must set left
to get it positioned at known location.
This is floated element.
This is another floated element in the container.
This is abs. pos. element with top: 0
, left: 0