Forums

[resolved] Page is not centered in IE (4 posts)

  1. Arastein
    Member
    Posted 1 year ago #

    Hello,

    I have built my own theme, but now I have a problem with centering the template. In Internet Explorer the whole site is one the right and in Firefox & Opera the front and single page are centered but others such as Category pages and archive page are on the right too.

    I also wrapped the entire template I did:

    <div id="perre"> in header.php after <body>
    </div> in footer.php before </body>

    and in CSS:

    #perre{
    width:950px;
    margin:0 auto;
    text-align:right;
    }

    But still not working.
    here is my site http://www.kirte.info

    Thanks,

  2. mercime
    Member
    Posted 1 year ago #

    add: text-align: center; to body

  3. Arastein
    Member
    Posted 1 year ago #

    It worked. Thanks, but still some pages are in right and the text is aligned to center. lo at here: http://www.kirte.info/2008/08

  4. mercime
    Member
    Posted 1 year ago #

    replace text-align: right; to text-align: left; in declaration below
    #perre{
    width:950px;
    margin:0 auto;
    text-align:right;
    }
    What browser are you using? Did you clear cookies/cache? Main layout looks center to me in IE6/7 and Firefox

Topic Closed

This topic has been closed to new replies.

About this Topic