No replies
Adelaide, South Australia
Last seen: 19 years 29 weeks ago
Adelaide, South Australia
Joined: 2003-09-05
Posts: 16
Points: 0

I noticed some peculiar behaviour when centering tables in Internet Explorer not long ago and I came up with a handy fix that I thought I might share. The problem is that MSIE does not like the "margin: auto" style. Here is the fix:

.center {
	text-align: center;
.center table {
	margin: auto;

All you do now is enclose your tables with <div class="center"> and "voila" - I think I am a genious! Laughing out loud

<div class="center">