On 16 Jun 2008 Ingo Chao said... >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.
Wow. Not in most of the bug-lists, but now that you mention it, I have found one or two reverences. Looks like this is IE6 only, correct? Not before/after. >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. OK, I tried that and it works. I don't understand WHY it works, which is frustrating. The "logical" thing to me would be negative padding for the absolute positioned box, to make it bigger. but that doesn't work. Got a minute to explain this? (btw, the original link now has a link to the repaired version. so, http://www.ds.org/test/iepieoverlay >But your testpage runs in quirks mode... Sorry, accidentally removed the doctype. It's there now. Thanks MUCH! Pete ______________________________________________________________________ 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/
