gpt4 book ai didi

internet-explorer - 如何设置IE文档模式?

转载 作者:行者123 更新时间:2023-12-04 03:28:39 26 4
gpt4 key购买 nike

在 IE9 中,我的浏览器已设置:

F10 -> 工具 -> 兼容性 View 设置 -> 添加 192.168.10.227

因此,当我尝试提供文件时,浏览器模式是 9 兼容 View ,文档模式是 IE7 标准。

我的问题是,如何使文档模式成为 IE9 而不是 IE7?

我试过:

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

但两者都不起作用。

这是我的文件
<!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" xml:lang="en" lang="en">
<head>
<title>OpsCentral&trade;</title>
<link rel="shortcut icon" type="image/x-icon" href="/opscentral/demo/favicon.ico" />
<link rel="icon" type="image/x-icon" href="/opscentral/demo/favicon.ico" />
<link rel="stylesheet" type="text/css" href="/opscentral/demo/css/main.css" />
<link rel="stylesheet" type="text/css" href="/opscentral/demo/css/widget_list.css" />
<script type="text/javascript" src="/opscentral/demo/js/jQuery/jQuery.js"></script>
<script type="text/javascript" src="/opscentral/demo/js/jQuery/jQuery.ajaxq.js"></script>
<script type="text/javascript" src="/opscentral/demo/js/util.js"></script>
<!-- *******************************************************************
WOM - Windows on Load Manager
******************************************************************** -->
<script type="text/javascript" src="/opscentral/demo/js/wom.js"></script>
<script type="text/javascript" src="/opscentral/demo/js/widget_list.js"></script>
<!-- *******************************************************************
NIFTY CORNERS
******************************************************************** -->
<script type="text/javascript" src="/opscentral/demo/js/niftyCornersCube.js"></script>
<link rel="stylesheet" type="text/css" href="/opscentral/demo/css/niftyCornersCube.css" />
<link rel="stylesheet" type="text/css" href="/opscentral/demo/css/jQuery/jQuery.pagination.css" />

<link rel="stylesheet" type="text/css" href="/opscentral/demo/css/widget_form.css" />

<script type="text/javascript" src="/opscentral/demo/js/jQuery/jQuery.dimensions.js"></script>
<script type="text/javascript" src="/opscentral/demo/js/jQuery/jQuery.jTemplates.js"></script>
<script type="text/javascript" src="/opscentral/demo/js/jQuery/jQuery.pagination.js"></script>
<script type="text/javascript" src="/opscentral/demo/js/jQuery/jQuery.XMLUtils.js"></script>


<link rel="stylesheet" type="text/css" href="/opscentral/demo/css/calendar-blue.css" />
<script type="text/javascript" src="/opscentral/demo/js/widget_calendar.js"></script>
<script type="text/javascript" src="/opscentral/demo/js/calendar/calendar.js"></script>
<script type="text/javascript" src="/opscentral/demo/js/calendar/calendar-en.js"></script>
<script type="text/javascript" src="/opscentral/demo/js/calendar/calendar-setup.js"></script>

<script type="text/javascript" src="/opscentral/demo/recordingJssCss/js/jquery-1.8.2.js"></script>
<script type='text/javascript'>
var $jq182 = jQuery.noConflict();
</script>
<script type="text/javascript" src="/opscentral/demo/recordingJssCss/js/jquery-ui-1.9.1.custom.js"></script>
<link rel="stylesheet" type="text/css" href="/opscentral/demo/recordingJssCss/css/smoothness/jquery-ui-1.9.1.custom.min.css" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8">
<meta http-equiv="X-UA-Compatible" content="IE=8" />

最佳答案

我认为你也应该添加 <!doctype html>查看此帖子 Forcing Internet Explorer 9 to use standards document mode

关于internet-explorer - 如何设置IE文档模式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17184243/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com