IE6 Margin Hack

Just for my own future reference — how to get margins to look right in Internet Explorer 6.x.

3 Comments

  1. R. Elgin your flag
    Posted December 1, 2007 at 9:32 pm | Permalink

    My hack is to use Firefox instead — I’m lazy.

  2. Posted December 2, 2007 at 1:19 pm | Permalink

    Unfortunately, in Korea, designing for IE 6.x is a must — all the PC bangs use it.

  3. littlebrownasian your flag
    Posted December 2, 2007 at 7:58 pm | Permalink

    My hack is to just include another CSS line with the ‘_’ in front that will be recognized only by IE6 and below (esp. 5.5, 5.01):


    margin: 10px 10px 10px 10px;
    _margin: 5px 10px 5px 10px;

Post a Comment

You must be logged in to post a comment.