IE 6 Double margin bug fix

Just a quick little notice that there is a very easy fix for this problem.
When you’re having Internet Explorer 6 displaying double margin add this to the css of your floating element: display:inline;.
Little time saver when testing in IE 6. Don’t we all love IE 6 :d.
Hope it helps you.


Related Articles


Comments:

  1. Alessandro    1

    Instead of using display:inline there is an easier and safer solution: using this simple js bug fix http://www.programmatorephp.it/jquery/ie6-double-margin-hack.php
    Other solutions have some side effects.

    20 April 2009, 05:39
  2. KingsDesign    2

    Hey Alessandro,
    I do agree with you that he javascript file is a better solution but a simple stylesheet change can be a simpler option that having to load an extra javascript file in every page.

    22 May 2009, 13:26

Add your Comment

     





Gravatars are enabled


Textile Help