July 27th is Mozilla Community Day at the O'Reilly Open Source Conference!
Tuesday July 10th, 2001
If you are going to the O'Reilly Open Source Conference in San Diego this month, be sure to check out Mozilla Community Day, which is happening the last day of the conference. Mozilla Community Day is open to all, whether or not your are attending the Open Source Conference. To find out more, visit this page for info and a listing of some of the topics that will be discussed!
#75 Re: Re: Re: Hmmm.. maybe Not...
Friday July 20th, 2001 9:44 PM
You are replying to this message
Actually, I'm pretty sure that if you submitted this bug it would get marked invalid. If you look at the definition of containing block in the CSS2 spec <http://www.w3.org/TR/REC-…#containing-block-details> you will see that when you absolutely position a child of the body, its containing block becomes not the body but the viewport itself (unless the body itself is positioned). Therefore width:100% refers to the width of the viewport. But since you don't specify left or top, its initial position is where it would normally fall in the page flow (inside the body margin). So your paragraph element has an initial left and top equal to the body margin, and a width equal to the viewport width, so it extends to the right of the viewport the same distance as the body's left margin.
Does this make sense? Does anyone else have a different interpretation of the spec?