table not centered html css code example
Example 1: how to center the table horizontally css
table
{
margin-left: auto;
margin-right: auto;
}
Example 2: how to place a table in center in css
.center {
margin-left: auto;
margin-right: auto;
}