Centering a table with CSS

To center a table using css you will need to use the following CSS:
.centerTable { 
   margin-left: auto;
   margin-right: auto;
}

Then just use the following HTML:

<table style="centerTable">
</table>

Last updated: 08/05/2005