Re: Width of an absolute positioned element

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 UTC