Problem with CSS / Template on my site - Please Help!

1 replies
Hi Warriors

I've just got the graphics / template for my site but Im having a slight problem - The text is not going inside the template. If I set it to align left it goes to the left of the screen, not the left of the template.

You can see here:

The Racing Insider

Im sure this is simple to fix but I've just spent 2 flipping hours trying stuff and searching online for answers and haven't fixed it.

Edit: I'm just viewing the page on my iPhone and the template fills the whole screen on there so the text is inside the template but I think its still aligning to edge of the screen, not the template.

If anyone could help that would be great, Im not very technical unfortunately.

Thanks

Daniel
#css #problem #site #template
  • Profile picture of the author kewkii
    You need to specify the width of your divs. The width needs to be smaller than the size of the purple page frame. These divs need to be centred on the page. Something like

    HTML Code:
    <div id="whit-container-area">
       <div class="page-wrapper">
          Test!
       </div>
    </div>
    where the css class 'page-wrapper' is defined as

    Code:
    .page-wrapper
    {
       width: 1000px;
       margin: 0 auto;
    }
    You have a lot of redundent divs in there at the moment .. I'd clear them out, leave the ones in with the id's.

    Hope this helps
    {{ DiscussionBoard.errors[9510031].message }}

Trending Topics