#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2009
    Posts
    103
    Rep Power
    16

    IE 10 doc mode IE9 standards won't work


    Hey,

    I'm trying to force IE10 into IE9 standards mode but can't seem to get it. It works with my ie8 browser when i force it into ie 7 standards but ignores it in IE10.

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <head>  
    <META HTTP-EQUIV="X-UA-COMPATIBLE" CONTENT="IE=EmulateIE9" >
    </head>
    
    blah blah website code...
    Any ideas? or am i missing something obvious.

    Thanks,
    DSFX
  2. #2
  3. JavaScript is not spelt java
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2011
    Location
    Landan, England
    Posts
    743
    Rep Power
    165
    I understand that this can be troublesome. I would modify the line to use the exact casing (upper and lower-case), even though HTML is not case-sensitive:

    Code:
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" />
    I suspect, also, that if your page does not validate in some way then IE will default to ignoring your meta tag.

    Validate

    Otherwise, I would try a different (HTML5) DOCTYPE.
    Last edited by AndrewSW; November 16th, 2012 at 08:26 PM.

IMN logo majestic logo threadwatch logo seochat tools logo