2011年4月11日
摘要: 一.针对不同浏览器css的写法有两种方法: 1.用*号和_下划线来区分,如下: background:orange;*background:green;_background:blue; IE6支持下划线,IE7和firefox均不支持下划线。 IE6和IE7支持*号,但firefox不支持*号. 2. 用*号和!important来区分,如下: background:orange;*background:green !important;*background:blue; 因为firefox和IE7支持!important,但IE6不支持. 注:不管是什么方法,书写的顺序都是firefox的 阅读全文
posted @ 2011-04-11 22:34 啊T 阅读(474) 评论(0) 推荐(0)