Jump to content

Shutting off Quirksmode in IE9


BuildMyWeb

Recommended Posts

I recently RESET FACTORY DEFAULTS in IE9 Internet Options.  since, sites are defaulting into quirksmode and making everything look all wonky.  these sites never triggered QM before.  some of them are sites we developed with (what we think are) proper DTDs.  and other computers running IE9 are not jumping into QM.  cant find anything via google search about IE9 settings.  all quirksmode searches relate to the development side and how to avoid triggering it with proper code.

 

anyone know of settings in IE9 for this? 

Link to comment
Share on other sites

You think they're correct DTDs? Have you run any kind of HTML verification tool or, you know, looked at those sites in different browsers?

 

IE9 should default to standards mode, and only go into quirks mode if the doctype is messed up. If you need to fix your doctypes, just use <!doctype HTML>. That's the HTML 5 doctype, but properly formatted 4.01 or XHTML will work just fine with it. Much easier to deal with than the crappy old doctype declarations.

Link to comment
Share on other sites

grabbed doctype from w3: http://www.w3.org/QA/2002/04/valid-dtd-list.html

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

 

and the page file validates with w3 validator: http://validator.w3.org/

 

i wrote "(what we think are)" because i dont like to presume much.  too many people look past obvious solutions when they are arrogant enough to "be certain" of what they know. 

 

the site renders properly in newest versions of FF, Safari, and Chrome on my pc, laptop, ipad and iphone.  again, the site in question, using the doctype i pasted above, has rendered in IE9 Standards Mode all along on my pc and it still does on my laptop.   only once i RESET INTERNET EXPLORER SETTINGS in the Options menu did the site start rendering in quirksmode on my pc ONLY so i suspect its soemthing in this particular instance of IE9 settings. 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.