Center A Design In The Browser Window

Redefine the Body Element

Now we'll clear all margins from the body and center the content using a text-align declaration:

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player

Your web page should function like this now