cssinternet-explorerinternet-explorer-6

IE6 double margin bug


When we float a fixed width div element to the left, the margin-left's value is doubled. Is there any solution available?

I'd prefer solutions not requiring JavaScript please.


Solution

  • If I remember correctly, setting

    display: inline
    

    to this DIV will solve the problem.

    -- edit:

    details on this bug