If you have a Google account, you can save this code to your Google Drive.
Google will ask you to confirm Google Drive access.
Save file as:
If you have saved a file to Google Drive, you can open it here:
To horizontally center a block element (like div), use margin: auto;
Note: Using margin:auto will not work in IE8, unless a !DOCTYPE is declared.