- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Sat, 12 Feb 2011 10:36:04 -0500
- To: Markus Ernst <derernst@gmx.ch>
- CC: www-style list <www-style@w3.org>
On 2/12/11 8:17 AM, Markus Ernst wrote: > If a container element with position:relative contains a child element with position:static and a margin, and some other children with position:absolute, then the reference point for the positioning moves vertically (but not horizontally) with the margin of the static element. Furthermore, the background of the container is vertically cropped to the margin of the child element. Strange enough: this issue disappears, when adding a border to the container element! You're just seeing margin collapsing here, right? -Boris
Received on Saturday, 12 February 2011 15:36:38 UTC