IE Won't Center Like Firefox
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....
Working web site is not the one that looks the same in a few graphical browsers, but the one that adequately delivers its content to any device accessing it.
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">
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?
Here's a list of the most common ones: http://www.w3.org/QA/2002/04/valid-dtd-list.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)