I’ve centered a table using the following:
table{
margin-left: auto;
margin-right: auto;
}
It works great on Google Chrome but not at all on Firefox, any ideas?
Should I wrap the table in a Div and use a specific ID for it?
P.S I didn’t use -webkit- on it. If I used -webkit-, I made sure to also add -moz-
Here is a link for you guys to examine:
you can see for yourself
CSS
Add this to your CSS file:
HTML
And in your HTML code change:
to: