2012-08-04 80 views

回答

0

我解決我的問題與添加以下代碼HEAD標記爲IE 9

<meta http-equiv="X-UA-Compatible" content="IE=9"> 
0

嘗試做這樣的

static private void UseIE9DocMode() 
     { 
      RegistryKey key = null; 
      try 
      { 
       key = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Internet Explorer\\Main\\FeatureControl\\FEATURE_BROWSER_EMULATION", true); 
      } 
      catch (Exception) 
      { 
       key = Registry.CurrentUser.CreateSubKey("Software\\Microsoft\\Internet Explorer\\Main\\FeatureControl\\FEATURE_BROWSER_EMULATION"); 
      } 
      key.SetValue(System.Diagnostics.Process.GetCurrentProcess().MainModule.ModuleName, 9999, RegistryValueKind.DWord); 
      key.Close(); 
     } 

仿真看到那些網址: http://deletethis.net/dave/?page=2&q=document http://blogs.msdn.com/b/ie/archive/2009/03/10/more-ie8-可擴展性 - improvements.aspx

+0

我已經這樣做但沒有工作 – KF2 2012-08-04 13:55:01