首页 > 代码库 > h5新标签IE8不兼容怎么办?
h5新标签IE8不兼容怎么办?
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <style type="text/css"> body{ clear: both; *zoom:1; } body:after{ content: ‘‘; display: block; clear: both; visibility: hidden; height: 0px; } header{ width: 100%; height: 100px; border: 1px solid #666; float: left; margin-bottom: 60px; } footer{ width: 100%; height: 100px; border: 1px solid #666; margin-top: 100px; float: left; } section{ width: 80%; height: 300px; border: 1px solid #666; float: left; box-sizing: border-box; } aside{ width:20%; height: 300px; border: 1px solid #666; float: right; box-sizing: border-box; } </style> <script type="text/javascript" src="js/html5shiv.js"></script> </head> <body> <header>头部</header> <section>主体</section> <aside>侧边栏</aside> <footer>底部内容</footer> </body> </html>
h5新标签IE8不兼容怎么办?
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。