IE8兼容html5,css3
2017-05-03 16:22
218 查看
IE8支持html5、css3标准模版
1、头部
<meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no, email=no" />
2、引入
<!--[if lt IE 9]><script src="html5shiv.min.js"></script>
<script src="respond.min.js"></script>
<![endif]-->
html5shiv.min.js和[b]respond.min.js可以直接在网上下载也可以直接用这个线上的:[/b]
[b]<!--[if lt IE 9]>
<script src="https://cdn.bootcss.com/html5shiv/r29/html5.min.js"></script>
<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
[/b]
2、需要启动本地服务器(localhost),不能使用普通本地的url地址(file://开头)
研究半天才发现用file打开的,没有一点用,所以千万要小心相关文章推荐
- 让Ie8兼容HTML5和CSS3
- 关于IE7 IE8兼容HTML5和CSS3的一种解决方案
- 关于IE7 IE8兼容HTML5和CSS3的一种解决方案 (转)
- html5标签与css3媒体查询兼容ie8
- 浏览器 HTML5 和 CSS3 兼容 【转自网络】
- css3圆角兼容ie8
- 各大浏览器 CSS3 和 HTML5 兼容速查表
- 完美解决IE(IE6/IE7/IE8)不兼容HTML5标签的方法
- 完美解决IE(IE6/IE7/IE8)不兼容HTML5标签的方法
- ie8兼容css3的样式 如@media
- html5中解决IE8及以下的兼容问题
- IE6/7/8兼容HTML5和css3
- 解决IE(IE6/IE7/IE8)不兼容HTML5标签的方法
- IE8可以兼容HTML5的标签
- 各大浏览器 CSS3 和 HTML5 兼容速查表
- 各大浏览器 CSS3 和 HTML5 兼容速查表
- css3糖果风格按钮(ie8及以下不兼容) 分类: css3 button 按钮 2014-02-11 17:35 632人阅读 评论(0) 收藏
- 完美解决IE(IE6/IE7/IE8)不兼容HTML5标签的方法
- 各大浏览器 CSS3 和 HTML5 兼容速查表
- 完美解决IE(IE6/IE7/IE8)不兼容HTML5标签的方法