html5新标签以怪癖模式打开

时间:2013-06-03 21:04:23

标签: html5 internet-explorer debugging quirks-mode tabbed-browsing

我已经尝试了解决其他问题的所有解决方案,但它对我没用。问题是任何带有target =“_ blank”的链接都会在怪癖模式下打开,因此永远不会呈现页面。 doctype和head如下:

<!DOCTYPE html>
<html lang="en">  
    <head>
        <title>
        </title>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta http-equiv="Content-Type" content="text/html">
        <link rel="stylesheet" type="text/css" href="../../css/bootstrap.min.css"/>
        <link rel="stylesheet" type="text/css" href="../../css/styles.css"/> 
        <!--[if IE 7]> <link rel="stylesheet" type="text/css" href="../../css/ie7.css"> <![endif]-->   
    </head>

还有其他我想念的东西吗?

谢谢,

Ĵ

1 个答案:

答案 0 :(得分:0)

以下是一些情况:

  • 链接到href的文档没有doctype
  • 链接到href的文档具有过渡doctype
  • 链接到href的文档是框架集