Forum Moderators: not2easy
I'm afraid we need a bit more info on the goal as well as the environment.
center of the html page: horizontally, vertically, both ?
html page: the screen or the page ?
the context: what elements are parents of your table and do any of them have position or explicitly set height and/or width?
the table: does it have a set size ?
...
Or dirty trick #47:
<table width="100%">
<tr>
<td align="center" valign="middle">
<table width=desired width>
content here
</table>
</td>
</tr>
</table>
Ahh, so easy, but you will have to endure the wrath of many CSS and HTML purists. :)
Vertical positioning is always going to be problematic. Horizontal, easy:
<table style="margin:auto;border:1px solid #000000;">
<tr><td>some content</td></tr>
</table>
Dead Centre Positioning [wpdfd.com] from an old WebmasterWorld post.