Start New Discussion within our UI / UX Design Community

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!

This question has already been answered. Start a new discussion instead.