The following tutorial is simple and will show you how to center your website using CSS.

Add the following HTML in between the <body></body> tags:

<div class="wrapper">
<!-- Add your website here. -->
</div>

Now center the website using the following CSS:

.wrapper {
margin: 0 auto;
}