Forum Moderators: not2easy

Message Too Old, No Replies

IE doubles margin bug? how to fix?

IE doubles margin bug? how to fix?

         

sherpa99

8:16 pm on Nov 12, 2004 (gmt 0)

10+ Year Member



I have a <DIV> that is using a float to the left -- IE is doubling it's left margin and moves the <div> to the right 10px instead of 5px (which firefox renders correctly) ... grrrr.

#leftNav {
float: left;
width: 380px;
margin-left: 5px;
padding:0;
}

Any thoughts?

Thanks!

Emperor

8:41 pm on Nov 12, 2004 (gmt 0)

10+ Year Member



Add this:

display: inline;

Take care,
Emperor

sherpa99

8:49 pm on Nov 12, 2004 (gmt 0)

10+ Year Member



presto -- thank you very much!