I have a problem with IE 8. The code goes
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" >
<title>My page</title>
</head>
Now for IE 8 version no 8.0.7601.17514
running in windows server 2008, the page loads in Browser Mode: IE 8 compatibility mode
,even when the compatibility mode button is disabled because of <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" >
.
But in another instance of IE 8 version no 8.0.6001.18702IS
(running in windows xp pro) is running fine in normal IE mode.
Can you help here? I want the page to load in normal IE 8 mode.
I know this is late to the game, but I just had this problem. This is/was for an intranet site with compatibility mode forced on and the compatibility mode button disabled.
Removing the DOCTYPE attribute corrected the forced compatibility mode.
Lodlaiden
When using http-equiv="X-UA-Compatible" make sure this meta-Tag is the first tag right after your head-tag.
this should solve your problem.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.