« Your Invisible Power | Main | Background Images For Bulleted Lists In IE »

IE Bug Fix For Floating Divs

So I was working on a new design for one of my sites, and here comes this problem with IE where a div I was floating to the right of another div was just not where it was supposed to be. It seems IE would double the right side margin value I had entered and float it that much further over than I wanted (i.e., if I put 25px, it made it 50px). A quick search in Google solved that problem. For the floating div, I just need to add display: inline and it will stop doubling the margin value in Internet Explorer. IE, so weird. Go Firefox!

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)