Hi,
This is the quick and easy way. Put your page in a table set to the width that you want and then center the table.
<table align="center" width="776">
<tr>
<td>
YOUR CONTENT
</td>
</tr>
</table>
Or you could use css:
<html>
<head>
<title>Document Title</title>
<style>
body
{
text-align: center;
}
.centered
{
margin-left: auto;
margin-right: auto;
width: 50em;
text-align:left;
background-color:#CCCCCC;
}
</style>
</head>
<body>
<div class="centered" >
YOUR CONTENT
</div>
</body>
</html>
Last Wiki Answer Submitted: June 25, 2008 6:04 am by Derrsu15 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.