Force Doctype for IE9

Discussion in 'HTML & Website Design' started by longblog, Oct 10, 2011.

  1. #1
    How do I force ie9 to load in ie9 mode instead of stupid quirks mode? My site keeps breaking in ie9 because it's defaulting to quirks. I don't have a quirks declaration anywhere. I'm using
    <!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" <?php language_attributes(); ?>>
    Code (markup):
    but the stupid site keeps breaking because I'm too stupid to figure out ways to get around IE's stupidity. Please help! Even better, how do I get the damn site to work in other versions of IE. /wrists
     
    longblog, Oct 10, 2011 IP
  2. longblog

    longblog Active Member

    Messages:
    417
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    50
    #2
    Nevermind, I figured it out. I would delete thread, but I don't know how.

    In case anyone wants to know, it's

    <meta http-equiv="X-UA-Compatible" content="IE=9">
    Code (markup):
    I hate you IE! BURN IN BROWSER HELL FOREVER!!!!!!
     
    longblog, Oct 10, 2011 IP
  3. ApocalypseXL

    ApocalypseXL Notable Member

    Messages:
    6,095
    Likes Received:
    103
    Best Answers:
    5
    Trophy Points:
    240
    #3
    LOL at least be happy that we can drop support for IE6 at the end of 2012 .
     
    ApocalypseXL, Oct 11, 2011 IP