> The content div is set to 100%, which, to my understanding, should mean > 100% of containing block, No. 100% means 100% of the available width of the containing block; so it excludes margin, border and padding of the containing block. If you increase respective values of border and padding of the containing block, then 100% width for its immmediate child will equate to less space at its disposal. > which is right most of the time, Your comment here suggest randomness of calculations. > the width of > "content" seems to be computed as 100% of the body element (which causes havoc > with the scroll bar etc.) No. The width allocated to the #content div is 100% of the available width of its container but then you added more constraints: padding left and right adds up 72px making the box size wider and also extending to the right of the body box. > Steps to Reproduce: > 1.Load attached html into the browser Next time, please attach code by using the "Create a New Attachment" link. Resolving as INVALID
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.