兼容各个浏览器的技巧
2017-02-06
25
1,盒解释器的不同解释.#box{ width:600px; //for ie6.0- width:500px; //for ff+ie6.0}#box{ width:600px!important //for ff width:600px; //for ff+ie6.0 width /**/:500px; //for ie6.0-}2,在ie中隐藏css,使用子选择器html>body #box{ }3,只有ie识别*html #box{ }4,在...