create a table with 100 width using a div w3schools code example Example: how to align table in html .centerTable { margin: 0px auto; }