The following methods for centering a narrow table should be equivalent, but they aren’t in Mac IE/5.
foobar | Some dummy text here. |
This table has the styles margin-left:auto;
margin-right:auto;
. This table was centered by MacIE5, Op, or
NS6.1, but not by MSIE5/Windows or by NS4.
foobar | Some dummy text here. |
This table has the shorthand margin style margin: 0 auto 0
auto;
.
This
table
was not centered by MacIE5.
foobar | Some dummy text here. |
This table has the shorthand margin style margin: 0 auto;
.
This table was not centered by MacIE5.
Thanks to Nick Theodorakis whose efforts to find the most effective way to center a table with CSS were the spur to finding this particular bug.