IE Won't Center Like Firefox
Hello,
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....
Vladdy
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">
To:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
what's next?
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?
thanks
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
Here's a list of the most common ones: http://www.w3.org/QA/2002/04/valid-dtd-list.html
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks