CSS
IE7.0 Simplified Chinese official version finally released, for me and the Web page to deal with the Web page compatibility problem also followed. IE7.0 has a significant change is to support the!important, is a good thing, but also to the vast number of IE6 in the era of using!important to distinguish between the processing of IE and FF Web page system author brought many problems, Noker also encountered this problem, so read online information, Write the following this can be compatible with most mainstream browsers today, covering the vast majority of users of the hack code, published in their own forums for everyone to view, research, access. If there are related questions welcome to the discussion, thank you!
Compatible browser version: ie5.0,ie5.5,ie6.0,ie7.0,firefox1.5,firefox2.0
CSS代码(请注意Hack代码的顺序):#test{width:300px;height:100px;background:#DDD!important;/*FF*/background:#FF0;/*IE5.0*/}#test/*IE5.5+*/{*+background:#C0F!important;/*IE7.0*/*background:#F00;/*IE6.0*/*background /*IE5.5*/:#F90;}
Test screenshots under each browser: