W3C home > Mailing lists > Public > www-style@w3.org > July 2003

Re: Width of an absolute positioned element

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 22 Jul 2003 15:57:33 -0500
Message-ID: <3F1DA53D.9050109@mit.edu>
To: Chris Moschini <cmoschini@myrealbox.com>
CC: chris@christophm.de, www-style@w3.org

Chris Moschini wrote:
> Consider that in any of those browsers, absolutely positioning
> Element B inside Element A and setting B's width to 100% causes it to
> be 100% of the width of A.

No, it causes Element B to be 100% of the width of its containing block. 
  This is only Element A if Element A is positioned or is the root 
element (in CSS2; CSS2.1, as it stands, has that part a little rewritten).

-Boris
Received on Tuesday, 22 July 2003 17:20:58 GMT

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