<!--[if IE]><script src=”http://apps.bdimg.com/libs/html5shiv/3.7/html5shiv.min.js”> </script><![endif]-->最后在css代码中插入:article,aside,dialog,footer,header,section,footer,nav,figure,menu{display:block}
<!--[if IE]><script src=”http://apps.bdimg.com/libs/html5shiv/3.7/html5shiv.min.js”> </script><![endif]-->
<!--[if IE]>
<script src=”http://apps.bdimg.com/libs/html5shiv/3.7/html5shiv.min.js”> </script>
<![endif]-->
article,aside,dialog,footer,header,section,footer,nav,figure,menu{display:block}
article,aside,dialog,footer,header,section,footer,nav,figure,menu{display:block
.box { -moz-border-radius: 15px; /* Firefox */ -webkit-border-radius: 15px; /* Safari and Chrome */ border-radius: 15px; /* Opera 10.5+, future browsers, and now also Internet Explorer 6+ using IE-CSS3 */ -moz-box-shadow: 10px 10px 20px #000; /* Firefox */ -webkit-box-shadow: 10px 10px 20px #000; /* Safari and Chrome */ box-shadow: 10px 10px 20px #000; /* Opera 10.5+, future browsers and IE6+ using IE-CSS3 */ behavior: url(ie-css3.htc); }
.box {
-moz-border-radius: 15px; /* Firefox */
-webkit-border-radius: 15px; /* Safari and Chrome */
border-radius: 15px; /* Opera 10.5+, future browsers, and now also Internet Explorer 6+ using IE-CSS3 */
-moz-box-shadow: 10px 10px 20px #000; /* Firefox */
-webkit-box-shadow: 10px 10px 20px #000; /* Safari and Chrome */
box-shadow: 10px 10px 20px #000; /* Opera 10.5+, future browsers and IE6+ using IE-CSS3 */
behavior: url(ie-css3.htc);
}
老式浏览器支持html5与css3
原文:http://www.cnblogs.com/QQ-Monarch/p/7227984.html