Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Firefox displays our site wrong, shifts upwards

Status
Not open for further replies.

lister110

Technical User
May 15, 2004
5
GB

For some reason our website seems to have shifted up while viewing this in firefox? If we view this in explorer we do not get this problem!

I personally didnt build the site so am unsure what apps created it
I think its a mixture of macromedia dreamweaver and flash movies

Please can you help!!!!
I have just started to use firefox so am very new to this browser.
 
Under the modern browsers, your HTML only works if it's treated as an old-style HTML, a.k.a. HTML 2. Your HTML is declared as "XHTML 1.0 Transitional" but in fact it is not a valid XHTML. Because of that, modern browsers have problems displaying the contents.

IE is neither "modern" nor "standard" browser (it's a piece of junk if you ask me!), it displays anything in its own way. (IE even cannot handle XHTML for a start.)

Solution:
1. Remove DOCUTYPE declaration altogether
2. Replace XHTML style closing tags ("/>") with HTML closing tags (">")

Or re-write your HTML as valid HTML 4 or XHTML. This is the "proper" solution, but not as easy as the first solution!

Kenneth Kawamoto
 
I'm with Old... it stinks.

Wow JT that almost looked like you knew what you were doing!
 
Well, I used to despise Netscape. I used to think, "I wish I didn't have to support Netscape 4" all the time.

Now time has changed: IE became so outdated and odd one out in among modern browsers. I really wish if I didn't have to support IE now, so I can use just standard XHTML.

Kenneth Kawamoto
 
NS 4 is a completely different story. :)

Wow JT that almost looked like you knew what you were doing!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top