What is the special style for browsers such as IE6, 7, and FF in CSS?
In this issue, the editor will bring you about the special style of CSS for browsers such as IE6, 7 and FF. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.
I. basic concepts
* can be recognized by IE6, 7
! important can be used by IE7 and FF
_ can be recognized by IE6
II. Examples
The code is as follows:
# wrapper
{
Width: 100pximportance; / * IE7+FF * /
Width: 80px; / * IE6 * /
}
# wrapper2
{
Width: 100px
_ width: 80px; / * IE6 * /
}
This is how the special style of CSS shared by the editor is written for browsers such as IE6, 7 and FF. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.