3 Comments to “Internet Explorer Float – Margin Problem”

  1. Ryan

    Oct 17th, 2008

    You should really put all your IE fixes into a specific IE only style sheet (or multiples of them for different versions) so the main style sheet is kept clean. For your example above you would move the display: inline into an IE only style sheet.

    Use conditional comments to serve up style sheets to IE and keep other browsers from having to view hacks and fixes they don’t need: http://www.quirksmode.org/css/condcom.html

  2. Sridhar

    Oct 18th, 2008

    I would agree with Ryan. As IE8 promises to be more compliant like FireFox or Google Chrome, you should separate your IE only styles. For example, in the html’s head, you can give this:

    #rightDiv {display:inline;}

    And not put the display:inline in the main stylesheet.

    Additionally, if you are already using IE8 and if your old styles (styles for IE7 or less) are aren’t working, use the following meta to make IE8 render as IE7 or less:

  3. Arun Basil Lal

    Dec 27th, 2008

    Hey, i tried this tweak, Still my RSS counter falls below the line in IE 6
    Damn Microsoft. Cheers


Leave a Reply