摘要:
一、一些基本知识:如何区分不同浏览器;在CSS中区分不同浏览器的方法 a) Hack方式:采用了CSS覆盖原理,CSS hack书写顺序一般为FF IE6 IE7 , *html-----IE6,7,8 *+html----IE7 需要特殊的头部(过渡模式) !important-----IE7,FF,IE8 例如: .inner { width: 120px; } /* FF */ * html .inner { width: 80px; } /* IE6 */ *+html .inner { width: 60px; } /* IE7 */在JS脚本中区分不同浏览器的...
阅读全文
posted @ 2013-05-15 21:58
golden_wind
阅读(240)
推荐(0)
编辑
posted @ 2013-05-15 21:54
golden_wind
阅读(100)
推荐(0)
编辑