How to align my page on the left? (not centered)

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
otto

How to align my page on the left? (not centered)

Post by otto »

Hello,

with the default layout the whole content inside the body (starting with  div#pagewrapper) is centered in the browser window.

Now I am trying to align my contents on the left and I do not find any option that would cause this. I have already searched in Stylesheets/Layout and Templates also. Please help!
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: How to align my page on the left? (not centered)

Post by tsw »

In your css files youll find something like this

Code: Select all

    div#pagewrapper {
        [color=Red]margin: 0 auto;[/color]
        max-width: 80em;
        min-width: 60em;
margin:0 auto; is the line that makes pagewrapper centered just take it out and youll have left aligned wrapper
Locked

Return to “Layout and Design (CSS & HTML)”