W3C home > Mailing lists > Public > www-style@w3.org > September 2001

Re: Containing block for Abs Pos elements

From: ValerieGSharp <ValerieGSharp@netscapeonline.co.uk>
Date: Tue, 04 Sep 2001 19:42:14 +0100
Message-ID: <3B952086.B1E4DEEB@netscapeonline.co.uk>
To: "www-style@w3.org" <www-style@w3.org>
Ian Hickson wrote:
> 
> On Mon, 3 Sep 2001, ValerieGSharp wrote:
> >
> > But the containing block for an element with position:static is 
> > formed by the *content* edge of the ancestor, not the padding edge.
> >
> > So, for an Abs. Pos. element with offsets 'auto', should the 
> > containing block be formed by the padding or the content edge?
> 
> Padding edge, but I don't understand why this is a problem. Could you 
> give an example where there is a contradiction or unexpected behaviour 
> if one assumes that the spec (including errata) is correct?


Apologies - you're right of course - obviously no contradiction if
padding is added into the calculated values for 'top' & 'left'.

('Unexpected behaviour' in a certain browser misled me.)


-- 
Regards,
Val Sharp - Edinburgh
Received on Tuesday, 4 September 2001 14:47:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:10 GMT