Quote:
|
Originally Posted by LazyJim
[Exercise1]
Center a <div> on the page horizontally and vertically.
We'll use a solid black 1px border so we can see it and fix it's dimensions to 500px hight and width.
|
OK, missed this, so I missed what you are trying to do.
http://www.thenoodleincident.com/tut..._centered.html
When you are just using one element, then use the margin, because it is just easier that way. Just like using a word processor, in that fashion.