![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
兼容问题
诸葛苍穹
...
展开
-
一行代码解决各种IE兼容问题,IE6,IE7,IE8,IE9,IE10
百度源代码如下 <!Doctype html> <html xmlns=http://www.w3.org/1999/xhtml xmlns:bd=http://www.baidu.com/2010/xbdml> <head> <meta http-equiv=Content-Type content=“text/html;charset=utf-8″> <meta http-equiv=X-UA-原创 2016-04-16 22:53:53 · 589 阅读 · 0 评论 -
Bugs及解决方案
如何在IE6及更早浏览器中定义小高度的容器? #test{overflow:hidden;height:1px;font-size:0;line-height:0;} IE6及更早浏览器之所以无法直接定义较小高度的容器是因为默认会有行高如何解决IE6及更早浏览器浮动时产生双倍边距的BUG? 方法: #test{display:inline;} 当在IE6及更早浏览器中出现浮动后margin值解析为双原创 2016-04-16 23:01:07 · 418 阅读 · 0 评论 -
兼容html5方案
百度贴吧,百度图片的实现<!--[if lt IE 9]> <script> (function(){ var tags = ['header','footer','figure','figcaption','details','summary','hgroup','nav','aside','article','section','mark','abbr','meter','output'原创 2016-06-29 19:17:34 · 422 阅读 · 0 评论