The difference between IE6 and FF:
background: orange ; * background: blue ;
The difference between IE6 and IE7 :
background: green !important ;background: blue ;
The difference between IE7 and FF :
background: orange ; * background: green ;
Difference between FF , IE7 , IE6 :
background: orange ; * background: green !important ; *background: blue ;
Note: IE can recognize *; standard browsers (such as FF) cannot recognize *;
IE6 can recognize *, but not !important,
IE7 can recognize * and !important;
FF cannot recognize *, but it can recognize !important;
IE6 | IE7 | FF | |
* | √ | √ | × |
!important | × | √ | √ |
Add another one, underline " _ ",
IE6 supports underscores, but neither IE7 nor Firefox supports underscores.
So you can also distinguish IE6 , IE7 , firefox in this way
: background: orange ; * background: green ; _ background: blue ;
Note: No matter what method is used, the order of writing is that firefox is written at the front, IE7 is written in the middle, and IE6 is written at the end.