We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

website problem - not centred - used to be???

Hi guys,

my website is hosted by 110mb.com and last couple of weeks they put an ad banner on the sites hosted through them (i didnt know about it) but since they ve done that my website is not centred as it used to be. i ve not changed the code or anything. I would be grateful if anyone could have a look at it?
If so please pm me for url... many thanks!!

Comments

  • peteb23
    peteb23 Posts: 192 Forumite
    Part of the Furniture 100 Posts Combo Breaker
    Check your inbox
  • alirob12
    alirob12 Posts: 809 Forumite
    Part of the Furniture Combo Breaker
    any idea anyone?
  • peteb23
    peteb23 Posts: 192 Forumite
    Part of the Furniture 100 Posts Combo Breaker
    Have you recently upgraded internet explorer? It works OK in firefox but not IE8.

    Try making the following changes in your CSS file. Add the text-align statement to the rules shown.

    #contmain
    text-align:center;

    #content
    text-align:left;

    .sidebar
    text-align:left;
  • alirob12
    alirob12 Posts: 809 Forumite
    Part of the Furniture Combo Breaker
    Thanks,
    I have had a look, but wasnt sure where to make the changes excatly, are you able to copy some code in with the changes? i would appreciate it? many thanks
  • peteb23
    peteb23 Posts: 192 Forumite
    Part of the Furniture 100 Posts Combo Breaker
    Hi

    Sorry I don't have time at the mo but if you open up your styles.css file and look for the classes mentioned above eg:
    #contmain
    {
    width: 100%;
    }
    

    add the text-align statement to it

    #contmain
    {
    width: 100%;
    text-align:center;
    }
    

    Reupload your styles.css file and test it.

    Unfortunately, this is one of the problems of using a free template. When something needs changing you need to get your hands dirty a bit :)
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 352K Banking & Borrowing
  • 253.5K Reduce Debt & Boost Income
  • 454.2K Spending & Discounts
  • 245K Work, Benefits & Business
  • 600.6K Mortgages, Homes & Bills
  • 177.4K Life & Family
  • 258.8K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.2K Discuss & Feedback
  • 37.6K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.