CSS Centering Issue


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?



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.


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

Question Answered as of 3 Years Ago by JorgeM

great news...glad the information helped.

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