Website Help

by 14 replies
16
One of my websites - out of the blue the pages started shifting to the left..the posts are ok. it's only happening to the pages
any idea what I can check out to get it right.

tomreilylandscape

Thanks for any help

John

It's .com...I can't post links
#website design #website
  • open up your styles.css

    edit the following
    #contentmain {
    margin: auto; // => edit it to margin: center;
    width: 909px;
    }

    Hope this will work!
  • margin: 0 auto;
  • in style.css on line 860

    Code:
    #bgg {
    background-color: #020400;
    background-image: url(images/bg.jpg);
    width: 909px;
    background-repeat: no-repeat;
    margin: 0px auto;
    that will centre things up for the site as it stands when i just looked at it (problem seems different to when you first posted)

    center is not a valid value for a margin attribute, see the CSS specification at the w3c site
  • If you are viewing in IE, it doesn't work with margin: auto.
    I had the same problem recently when I was making a nwe site from scratch, I found the answer here for it not working in IE;
    Margin auto doesn't work in IE? CSS forum at WebmasterWorld
    Hope this helps!
    • [DELETED]
      • [1] reply
  • Like everybody else said above, you need to check your CSS file, sometimes due to some minor changes in the objects configuration our site looks weird so it's better to check it out from there.
  • Banned
    [DELETED]
  • Banned
    [DELETED]
  • Sorry I've been away...
    Thanks for all your suggestions.
    I tried all of thems and none of them worked. I did load up the default WordPress theme, without activating, and the pages are ok. so obviously something is wrong with theme. I also tried deactivating any recent plug-ins I added to no avail. I hate to change the theme cause it'll be a lot of work getting the new theme setup.
  • If you want proper help, you would need to send us the link to your website so we can have a look at your actual CSS sheet.
    • [1] reply
    • tomreilylandscape dot com

      I'm just trying to help my brother with his site.
  • Banned
    [DELETED]
  • Quite welcome! Site is looking great.

Next Topics on Trending Feed

  • 16

    One of my websites - out of the blue the pages started shifting to the left..the posts are ok. it's only happening to the pages any idea what I can check out to get it right.