--- James Smith <[EMAIL PROTECTED]> wrote:

> Do you know why this is happening? I thought I had
> encountered most IE bugs before ... it doesn't
> even seem to be down to the box model differences
> since I've not specified a height on anything.

It definitely looks like a hasLayout problem - this is
probably the flavour of bug you're thinking of. As you
say, setting height triggers hasLayout, but so does
setting width (1). Looks like margin / padding is one
of the victims (2). I *despise* hacks, though it may
be your only option in this case. Are you sure you
can't make semantic use out of a wrapper div? That, to
me, would seem the lesser of two evils.

- Bobby

(1) See the 'classic':
http://www.satzansatz.de/cssd/onhavinglayout.html#prop

(2) http://www.brunildo.org/test/IEMarginCollapseLayout.html


      
______________________________________________________________________
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