自言自语

I'm Wang Xianyuan, writing for myself, more studying, more experience…

区别不同浏览器,CSS hack写法

By

区别IE6与FF:
background:orange;*background:blue;

区别IE6与IE7:
background:green !important;background:blue;

区别IE7与FF:
background:orange; *background:green;

区别FF,IE7,IE6:
background:orange;*background:green !important;*background:blue;

One Comment

  1. mickey
    October 9, 2008 at 9:40 pm

    ????