Ischa Gast wrote:
> But IE does something really strange, it pushes it outside the box. I
>  thought this was the double margin bug so I inserted display:inline 
> in my CSS. After that it looks more ok but it doesn't push it totaly 
> to the right just like all other browsers.

A negative side-effect of triggering 'Layout' on the container. Can't be
avoided in this case, AFAICS.

> http://ischagast.nl/double_margin_bug.html

I usually avoid such a problem by styling the paragraph, like in the
last example here...

<http://www.gunlaug.no/tos/alien/ig/test_08_0813.html>

That'll keep the text flowing down independent of the float, and there's
no 'margin-doubling on floats' to conteract in IE6.

Alternatively one can offset the floatbox in IE only like in the
second-last example, but that's less "refined".

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
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