tips and tricks for movable type

IE6 table centering bug
September 18, 2002

One day, I viewed my blog from work - where I have IE6 - and found that all my table content was centered! I found the solution at evolt.org - eliminate the URI portion of the doctype declaration.

So I did!

Instead of:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

Use this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Comments

I think I have to agree with some of the people who commented on the evolt article in that throwing the browser into quirks mode is not the best thing one can do overall. A couple of different solutions were suggested in those comments; you might want to evaluate them as an alternative to what you've done.

by Earl Cooley | 09.18.02 07:13 PM

Good point! I'll check them out - at the time, I was just looking for the quickest fix possible since I was so annoyed by the centering. =)

by girlie | 09.18.02 07:27 PM

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

TrackBack: 0
(URL: http://www.thegirliematters.com/sf/mt-track.cgi/82)