From: "Tobbe Lundberg" <[EMAIL PROTECTED]>
>http://tlundberg.com/ie7.html
>
>There is a 40px margin below #box. It shouldn't be there. The 40px
>margin comes from #wrapper, but since #wrapper is much shorter than
>#box that margin shouldn't make any difference. Firefox 2 and Opera 9
>gets it right.
Ah, but if you put more content in your #content div, enough to actually extend
the content below the level of #box, then all browsers should imitate what IE
is doing right now.
I think that, since #box begins within #content, even though IE has let it
'stick out' and not actually expanded #wrapper visibly, (due to the lack of
"layout" on that div), IE thinks you still want that bottom margin to extend
below *where wrapper would have extended to if it had layout* and does so.
If your actual content will extend below the level of #box, then that margin is
something you will have to deal with in all browsers, and not something to
worry about just in IE. If you really don't want that margin, eliminate it from
#wrapper. The display likely won't change in other browsers, but it will be
"fixed up" in IE.
Hope that helps,
~holly
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/