IE float issue - Suggestions?

Discussion in 'CSS' started by ceint_com, Feb 4, 2010.

  1. #1
    I have created a new layout for a subpage that works fine in all browsers except IE.

    The page in question.

    The problem with IE is that all the content floats left, while it should be centered.

    Does anyone have any hints / tips what I can do to get it to display correctly in IE?

    Thanks in advance.
     
    ceint_com, Feb 4, 2010 IP
  2. LeetPCUser

    LeetPCUser Peon

    Messages:
    711
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    
    #container
    {
     margin:0px auto;
     width:xpx;
    }
    
    Code (markup):
     
    LeetPCUser, Feb 4, 2010 IP
  3. ceint_com

    ceint_com Active Member

    Messages:
    312
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    78
    #3
    Thank you for the prompt response.

    I tried setting it to:

    
    #container {
    /* float: left; */
    margin: 0 auto;
    width: 955px;
    overflow: hidden;
    background: url(/wp-content/themes/webhuset/images/container.png) 0 0 repeat-x;
    border-top: 1px solid #fae300;
    }
    
    Code (markup):
    It didn't help :(


    UPDATE: I was able to fix it.
     
    Last edited: Feb 4, 2010
    ceint_com, Feb 4, 2010 IP
  4. LeetPCUser

    LeetPCUser Peon

    Messages:
    711
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Great news you were able to fix it! What did you have to do to get it fixed?
     
    LeetPCUser, Feb 5, 2010 IP