how to align table in the center in a div code example Example: how to place a table in center in css .center { margin-left: auto; margin-right: auto; }