^You can do it that way, but for users with 800x600 resolution, it'll look really big and there will be annoying little arrows just to go back and forth to see everything. :/
I havn't tried it yet, but this is what I found on a
site:
Quote:
Centering with CSS is easy after you know how to do it. The best way to center is to first set the text-align property in your body statement to center. Following that you will need to create a new div statement named content. Add a margin to ‘content’ in your CSS and use the value auto. Remember that everything you want centered on your web page must go inbetween your content div. Your CSS should look similar to this:
Code:
body { text-align: center; }
#content { margin: auto; }
Then, simply implement this into your HTML/XHTML - like so:
Code:
<body>
<div id="content">This content will be centered</div>
</body>