Pete Holzmann wrote:
> ...
> Reduced to the minimum at http://www.ds.org/test/iepieoverlay/
> 
> * On FF, you see a pink overlay across the whole page, with some text in 
> the middle.
> * On IE6, the overlay is limited to part of the left side.
> 
> Clearly, IE6 pays attention to the body{} padding setting. ...

Hi Pete

For a percentage width, IE6 calculates the width of an absolutely 
positioned box with respect to the content edge of its containing block.

Meanwhile, the spec says width:100% is calculated with respect to the 
padding edge of the containing block.

Since body (the containing block in your example) has padding, there is 
a difference.

For a workaround, I think the a.p. box should get the same padding of 
200px in addition to the width:100%. Put this into a conditional comment 
to exclude the normal browsers.

But your testpage runs in quirks mode (missing or incomplete doctype), 
not in standards mode, so this fix does not have any effect due to the 
old box model (in quirks mode, padding is always included in width:100% )

Is the final page running in standards mode or quirks mode? the 
workaround depends on the rendering mode.

regards,

Ingo

-- 
http://www.satzansatz.de/css.html
http://www.dolphinsback.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to