A real easy way to center everything is to put all the code inside a DIV object that is thinner than the screen width.
<body>
<div style="width:800px; margin:0 auto;">
.... existing content here....
</div>
</body>
I agree with Jason though that the Microsoft code will probably need a good tidy up!
Main Topics
Browse All Topics





by: jason1178Posted on 2008-02-27 at 22:05:23ID: 21001524
Generally speaking, you can select the element in Design View and hit the center align button on the properties panel.
If this is Publisher-based HTML, you may want to think about rebuilding it from scratch to remove all of the MS crap from the page.