Forums

  • # July 22, 2008 at 6:24 pm

    I am working on a new design and It is not centering in IE . It centers fine in Firefox, Safari, and Opera but not IE . Got any ideas of what the problem is.

    # July 22, 2008 at 6:40 pm

    we need to see the html and css to see whats going on

    # July 22, 2008 at 7:04 pm
    "chazzwick" wrote:
    we need to see the html and css to see whats going on

    I have everything within a page wrap.

    The HTML:

    <div id="page-wrap"> </div>

    The CSS :

    #page-wrap{
    width: 950px;
    margin:0 auto;
    }

    How’s that.

    # July 23, 2008 at 12:07 pm
    "box" wrote:
    Use a strict doctype – a transitional doctype forces IE6 into quirks mode and the margin:0 auto; is unrecognised. In strict (standards mode) your site should centre without problems.

    You were write . I changed the doctype and my problem is now fixed. Thanks.

    pab
    # July 26, 2008 at 6:17 pm

    you also end up fixing IE4 IE5 by doing the text-align center on the body and text align left on the wrap

    that being said who still codes for IE4 & IE5

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag