how to set borders in a html table code example Example: how to align table in html .centerTable { margin: 0px auto; }