The Internet Explorer 6 has sometimes a problem with floating right. Today I had this problem. I have two div-container: one a image which has to float left and a text block which has to float right. On Firefox this works without any problems. But IE 6 do not float the text to the right but just put it after the image. After a little internet search I found a similar problem, the so called doubled float-margin bug on IE 6.
The solution of this problem, just set the floating boxes with inline-attribute, works also for this right-floating problem. Just set for the CSS-id the following:
display: inline;
See the pictures below. The left one is with bug, the right one without. Hope this helps some others.
- IE6 right-floating problems
- IE6 fixed right-floating
Related posts:


0 Responses to “Floating problems with IE 6”
Leave a Reply