Since the beginning of the Internet, the battle between browsers has never been stopped. Of course, the hardest part is the Web page creator. In order to meet the user experience and availability standards, we have to rush around on multiple browsers for a unified effect. I really hope that FF will be the only one in the world, even though it is still the world of IE. In particular, the latest Internet Explorer 7 released by Microsoft, its CSS compatibility indeed adds a heavy burden to some web page creators.
CSS hack has to be used for different browsers to achieve the same display effect. Of course in this article ArticleWe will only talk about IE6 and FF with the highest utilization rate, and CSS hack that may become the mainstream IE7 in the future. For versions earlier than IE6, OP and SF are not described here. The beginner will surely gain some gains after reading this article, and the experts will be able to pass by, huh, huh!
Solution 1
Let's take a look at the following CSSCode:
Background-color: orange;
* Background-color: Blue! Important;
* Background-color: red;Xmlns = "http://www.w3.org/1999/xhtml">