The perfect place to start – a centrally aligned ‘wrapper’.
You must have the DTD (Document Type Definition) declared for this to work.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<style type='text/css'>
body { text-align: center; }
#container { margin: 0 auto;}
</style>
<body>
<div id="container">
<!-- Content Here -->
</div>
</body> |
Write a Comment
Let me know what you think?