Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

margin left problem in IE6

margin left

1:31 am on Sep 25, 2007 (gmt 0)

New User

10+ Year Member

joined:Sept 25, 2007
votes: 0

Hi all,

I need ur help, I got problem when I use margin-left for my left column in my page.
I preview in FF and IE7 everything is OK (the position is what I expected) , when I preview it in IE6 the 2 column (left column and right column) quiet far to the right.
Here is the code :



IE6 interpret "margin-left:8px" quiet differently than FF/IE7 do.
Can anyone help me to solve this?

many thanks

[edited by: Robin_reala at 6:46 am (utc) on Sep. 25, 2007]
[edit reason] No personal URLs please [/edit]

6:49 am on Sept 25, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 26, 2004
votes: 0

IE6 shouldn't interpret margins differently, unless you're experiencing the class 'double margin' bug which you'd solve here by adding 'display:inline' to '.left'. If not the have you got some content inside that's pushing it too far out?

At this point it'd probably be useful to make a reduced testcase - make a copy of the page then start ripping out all unnecessary code until the problem goes away. That'll give you an indication of what exactly is going wrong.

1:22 am on Sept 26, 2007 (gmt 0)

New User

10+ Year Member

joined:Sept 25, 2007
votes: 0

Hi Robin, I add display:inline and it works, many thanks for you

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members