homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

margin left problem in IE6
margin left

5+ Year Member

Msg#: 3459772 posted 1:31 am on Sep 25, 2007 (gmt 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]



WebmasterWorld Senior Member 10+ Year Member

Msg#: 3459772 posted 6:49 am on Sep 25, 2007 (gmt 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.


5+ Year Member

Msg#: 3459772 posted 1:22 am on Sep 26, 2007 (gmt 0)

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

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved