Tue, 2007-05-29 21:06
please look at the following page in IE6 and Firefox. IE doubles the left-margin. why?
occurs just with float-divs.
http://ra.synapsick.net/fileadmin/rackattack/temp/testCSS.html
Tue, 2007-05-29 21:58
#1
Why? That is something you
Why?
That is something you will need to ask the IE dev team.
It is a well known issue. Give the floating element with the double margin a display:inline to fix it.
Wed, 2007-05-30 08:47
#2
thank you, works great (at
thank you, works great (at least in this case) but what if i want to have a floating block-element?
Wed, 2007-05-30 09:09
#3
A float is block level,
:? A float is block level, it's a consequence of applying the float property.
Wed, 2007-05-30 10:48
#4
What Hugo means is that
What Hugo means is that despite you putting display:inline all browsers make floats display:block, even IE, so the inline will be ignored. But it fixes the bug. Daft code to fix a daft bug.