Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Doctype issue? IE vs FireFox

Site not displaying properly in IE but IS in FireFox

12:02 am on Aug 19, 2005 (gmt 0)

New User

10+ Year Member

joined:Aug 18, 2005
votes: 0

Having major issues with a redesign I just did on my website...

I did it and it appeared to work fine. I was in a hurry so I checked it in Mozilla and assumed (big mistake!) it would be fine in IE as well. Usually I have issues going from IE to Mozilla and not the other way around... ugh!

Site not displaying properly in IE but IS in FireFox

Checking on something else in IE today I found I missed something! (something big, lol) I'm thinking it has to be the DOCTYPE but not sure how to fix it. The background is missing from the IE version and its not centered the way its supposed to be. I'm using div layers and looks like an issue with those specifically. I checked out this link: [htmlhelp.com...] but cant figure out which one would apply to my issue.

Most everything I find refers to working in IE but not Mozilla, my problem is the opposite.

I'm sorry I dont know how to better explain it...
Suggestions greatly appreciated! Thankyou!

1:49 am on Aug 19, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
votes: 0

Hi, and welcome to the forums.

There's a lot of potential complication in adding a doctype to a page that previously had none. However, it's all quite worth the effort to sort out, IMO. The biggest deal (even without choosing a particular DTD - which in your case is probably html 4.01 transitional) is that by having no doctype, your pages were being displayed in quirks mode and now by adding one, you will be triggering standards mode.

Because each browser's "quirks mode" can be, well, quirky, you will be much better able to debug your layout in standards mode.

So, as a first step, you may want to read up on Quirks Mode vs. Standards Mode [webmasterworld.com]