I've got a small table on one of my pages and I'd like it centered so have coded <table cellpadding="0" cellspacing="0" align="center">
which works fine in IE but the table still left aligns in Firefox.
If i use
text-align:center n align:-moz-center
its not working in IE
What do I need to change to get the table to center in Firefox? If I should use -moz-center
how to make it work in IE?
I'm stuck here.
Add margin: auto;
to the table. That is the standard way to do it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With