Treehouse: Grow your CSS skills. Land your dream job.

Some centring problems

  • # January 17, 2010 at 10:00 am

    Hi, I am re-coding a site I did quite a long time ago to make it cleaner and more efficient, but I am having a few problems with centring the main content and the footer with the header. For some reason the header image created a horizontal scroll bar when the width isn’t defined(but the whole site is centred) but when I define the width of the header image everything else jumps to the left hand side and is not centred any more and I can’t work out why I cant get it to align with the header image. I might just be having a stupid few hours but I can’t work it out as I haven’t come across this before. It’s quite hard to explain so I have uploaded the index page and css file to a new directory on the site located at
    Help is much appreciated,

    # January 17, 2010 at 6:53 pm

    I would have a look here mate :)

    And then if you can’t ‘sus it out let us know :)

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

You must be logged in to reply to this topic.