As Lekenstein mentioned, here is some code to show it in action:
<div style="margin: 0 auto; text-align:center;"> <table border="1" style="width:200px;"> <tr> <td>Hello</td> <td>How</td> </tr> <tr> <td>are</td> <td>you?</td> </tr> </table> </div>
it should center itself based on the style definition of width and margin .
Jakub source share