Home › Forums › CSS › CSS positioning help needed › Re: CSS positioning help needed
August 12, 2009 at 2:25 pm
#62149
Member
Fortunately you are three simple steps away!
1. Add the following CSS to your left side bar:
Code:
float:left; /* Floats your content to the left */
2. Add the following CSS to your main content:
Code:
float:right; /* Floats your content to the right */
width:650px; /* Needed for the float to work */
width:650px; /* Needed for the float to work */
3. Add the following CSS to your pagewrap:
Code:
margin: 0 auto; /* This will center your wrapper in the browser. It’s saying, “top and bottom margin equals zero, left and right margin automatically adjust” */