日期:2014-05-16  浏览次数:20787 次

百度,淘宝,腾讯三大巨头HTML页面规范分解
【兼容html5方案】
百度贴吧,百度图片的实现
复制代码
<!--[if lt IE 9]>
<script>
(function(){
    var tags = ['header','footer','figure','figcaption','details','summary','hgroup','nav','aside','article','section','mark','abbr','meter','output','progress','time','video','audio','canvas','dialog'];
    for(var i=tags.length - 1;i>-1;i--){ document.createElement(tags[i]);}
})();
</script>
<![endif]-->
<style>
header,footer,section,article,aside,nav,figure{display:block;margin:0;padding:0;border:0;}