Floats with position: relative and percentage-value body margin inaccurately repositioned on page resize

If your document's body uses a percentage value as a left or right margin, then position:relative (even without left/top/bottom/right declared), floated elements inside a containing block with a defined width, will not reposition accurately (or at all) as the page is resized. Reloading the page after resizing fixes the problem - just like a Netscape 4 bug.

Test page Workaround is not included
Reported by: David Bloom.

Explorer 5-6 Windows, Explorer 7 | Reported on 11 December 2006.

This site is no longer maintained. I’m sorry, but it’s just too much work for too little return. You can continue to browse old bug reports, though.

Search reports by browser:

Atom RSS


(Add your own)