I've been scratching my goatee trying to figure out why in firefox my page is nicely centered, and in IE it doesn't (why the text paragraph doesn't center).
Any hints appreciated.
Page in question: Free Pop Up Creator
The beginning of the problem is in the first line of your HTML code....
So I changed:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
Next please fix your HTML and CSS errors.
Four ways to Center Elements with CSS (in IE5+/Win and other browsers)
Ok, I'll read the "four ways" link for clues.
How would I write my doc type if I just wanted to go for "transitional"? Is there list somewhere of all possible doc declarations?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
Here's a list of the most common ones: http://www.w3.org/QA/2002/04/valid-dtd-list.html