Hi Bruno, > The behavior of 'block formatting context roots' in presence of float > is not exactly defined in the spec, however all modern browsers > usually display them beside the float, making them narrower. > > I've recently noticed a strange behavior, both in Firefox 3+ and IE8, > occurring with boxes having overflow different from visible. Assume > there is a right float and then an overflow box with a negative left > margin. The box is rendered beside the float, but its margin is > ignored in Firefox 3+ and IE8. More details and test cases here [1]. > I don't see any reason for such behavior, which looks simply wrong. > The strange thing is that it did not occur in Firefox 2 and IE7, so I > wonder if it could be intended. Has someone any ideas?
> [1] http://brunildo.org/test/bfc-neg-marg-float.html Thanks for this. It is really strange/weird and seems to be the case for *both* sides of the box, not just the one opposite to the float. Did you try to apply a negative margin on the right *and* left sides of these block formatting contexts? -- Regards, Thierry www.tjkdesign.com | articles and tutorials www.ez-css.org | ultra light CSS framework ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] 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/