1.11M Members

CSS Centering Issue

 
0
 

Hi there
I am trying to center my website template to the middle of the page...currently at the left.
Cant find which part of the CSS files it goes with...can anyone help?

http://home.comcast.net/~waynetorrance/roomies/index.html

 
0
 

To center the content in the middle of the page, the easiest way is to create two divs. An outer and inner div. The outer div, just needs the following CSS properties applied, such as {width:1000px;margin-left:auto;margin-right:auto}. Now, within this div, you can create the inner div which will contain whatever other CSS properties to apply to your overall content. Then go from there.

 
0
 

yeah! everything centred itself with the code you provided! Thank you heaps!

Question Answered as of 2 Years Ago by JorgeM
 
0
 

great news...glad the information helped.

You
This question has already been solved: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: