e lohroff wrote:
> Is that because my content div is non-float?  I did it and it worked,
>  but I don't understand *why*.

Yes, it's because your content div is a non-float in the flow.

The "why" is a combination of old IE/win bugs for the 'overflow'
property (where different IE-versions handle that property differently)
and the fact that a negative 'margin-bottom' does not reduce the
measurable size of the element (as IE sees it).

This may seem like a weak explanation ... and it is. I can't seek much
help in, or point to, the standards either, since they are pretty vague
on such matters - leaving most decisions to browser-developers.


We can do a lot of float-manipulations[1], and drag IE/win along with a
few, not too ugly, workarounds.

Manipulating non-floats (elements in the flow) is an entirely different
matter, and IE has its own set of limitations which I usually write off
as 'absurd bugs'[2] since not even those who develop that bugger seem to
have much control over it.
Other browsers have 'absurd bugs' too, but not nearly as many as IE.

Future browser-versions may behave differently, so we have to keep track
of them and their bugs. I don't think we need a deeper understanding of
their bugs though. We only need to know how to work around their
weaknesses without creating our own designer-bugs - hoping that
browser-developers can manage to reduce the number of bugs and the need
for workarounds to a more acceptable level some day in the future.


So, I can't really tell you _why_ IE behaves like it does on this point,
and I can't even find a good reason for taking the time to figure it out.
My advice is that you write a note to yourself about the potential
problem, and just carry on.

regards
        Georg

[1]http://www.gunlaug.no/contents/wd_demo_float_02.html
[2]http://www.gunlaug.no/contents/molly_1_15.html
-- 
http://www.gunlaug.no
______________________________________________________________________
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/

Reply via email to