Forums

Page not centered in Internet explorer 6 (6 posts)

  1. bogdan2z
    Member
    Posted 2 years ago #

    I know, ie 6 is ancient, but a big part of my visitors use this browser and i need to fix this.
    The adress is http://bogdan2z.lx.ro/ . In firefox, safari, opera, ie8 everything is ok. But in ie6 it is not. And the fix i know doesn`t work.
    body {
    background: #FFFFFF;
    background: url("images/pattern_038.gif");
    color: #323232;
    text-align:center;
    font:11px/18px Verdana, Arial, Helvetica, sans-serif;
    margin: 0px auto 0px;
    padding: 0px;
    }
    #wrap {

    width: 960px;
    text-align:left;
    margin: 0px auto 0px;
    padding: 0px;
    }

    Any of you know another way to make the page centered? Thanks.

  2. Peter Boosten
    Member
    Posted 2 years ago #

    Start by fixing your xhtml.

    Peter

  3. bogdan2z
    Member
    Posted 2 years ago #

    Well, i know, it is good to have no errors, but it is hard for me. For example, i don't know how to end <body> tag. I`ve tried to replace it with <body/> but it was worse.
    O, and a part of those errors are because of the links on the top. I use a free service, so they need to finance themselves. :)

  4. Peter Boosten
    Member
    Posted 2 years ago #

    hmmm, normal structure of a html page:

    <html>
      <head>
        <title></title>
      </head>
    
      <body>
      ...
      </body>
    </html>

    From this basic fact your closing body tag needs to be at the bottom of your page, translated to wp mostly in the file footer.php (but YMMV).

    In 99.99% of all cases these errors make IE act different than expected.

    Peter

  5. bogdan2z
    Member
    Posted 2 years ago #

    The body and html tags are in footer.php. I will try to see if on another hosting i will have the same problem caused, i think, by those ads on the top.

  6. bogdan2z
    Member
    Posted 2 years ago #

    Hmm, it seems the ads are the problem. I will find a way to install ie6 and run wordpress on localhost.

Topic Closed

This topic has been closed to new replies.

About this Topic