Dynadot โ€” .com Registration $8.99

IE6 Coding troubles

Spaceship Spaceship
Watch

member-33795

Established Member
Impact
3
Hey

Im having some troubles in IE6 for www.groomgle.com, check it in FF then check IE and you will see an extremely noticable difference.

This is one of a few problems (logins not working! and the commenting isnt working - not xhtml/css related)

Thanks
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
The doctype you're using

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

is invoking "quirks mode" (aka "compatibility mode") browser rendering.

Quirks mode means that the browser falls back to emulating the way older browsers interpreted the code. Among other things, older versions of IE interpreted the box model (widths and heights, margins and padding on block elements) incorrectly, which is why things don't line up as expected.

Try changing your doctype to this instead:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

The above version invokes standards mode rendering in IE6 and 7 browsers.
 
0
•••
Thanks so much! Worked great but i still need to fix the other bit!

Thanks
 
0
•••
Dynadot โ€” .com Registration $8.99Dynadot โ€” .com Registration $8.99
Appraise.net
Unstoppable Domains
Domain Recover
DomainEasy โ€” Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back