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