Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS positioning help needed Re: CSS positioning help needed

#62149
TheDoc
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 */

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” */