Sometimes adding a table in <div style="text-align:center"></div> to a Div will not be centered. We can add margin:auto to the table, for example:
<div style="text-align:center">
<table border="1" cellpadding="3" cellspacing="0" style="width: 60%;margin:auto">
<tr><td></td> </tr>
<tr>
</table></div>