rss
twitter
  •  

Double Margin Issue in IE6

| Posted in CSS |

5

Here we go with double margin bug in IE6. For those who are unfamiliar with the Double Margin Bug, if you float an element and then proceed to add margins in the same direction as the float, Internet Explorer 6 will double the value. Example, A left margin of “10px” will becomes “20px” in IE6. Well to remove the addition margin form IE6 just use the display:inline;.

.selector {
display: inline;
float: left;
margin-left: 100px;
}

Comments (5)

its’ great information.

The article is usefull for me. I’ll be coming back to your blog.

The article is ver good. Write please more

Great post! I’ll subscribe right now wth my feedreader software!

Hello, can you please post some more information on this topic? I would like to read more.

Post a comment