【问题标题】:html5shiv doesn't seem to be workinghtml5shiv 似乎没有工作
【发布时间】:2013-12-31 16:48:14
【问题描述】:

这是当前的工作站点... http://www.cheltenham-nursery.co.uk/building/index.html

它在 IE10 中显示正常,但在此之前的任何内容和显示都无处不在。

我正在加载 html5shiv...

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Cheltenham Nursery</title>
    <link rel="stylesheet" type="text/css" href="css/screen_styles.css" />
    <link rel="stylesheet" type="text/css" href="css/screen_layout_large.css" />


    <!--[if IE]>
        <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

</head>

任何建议或 cmets 将不胜感激。

干杯 亚当

【问题讨论】:

    标签: html internet-explorer-9 html5shiv


    【解决方案1】:

    用途:

    <!DOCTYPE html> 
    

    代替:

    <! DOCTYPE html>
    

    正在识别 shiv 脚本,但由于空白,您的 doctype 格式错误。虽然较新的浏览器不会在意,但旧版本的 IE 会在 Quirks Mode 中呈现您的页面。

    【讨论】:

      猜你喜欢
      • 2013-11-25
      • 2017-08-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-10-25
      • 1970-01-01
      相关资源
      最近更新 更多