CSS hack:
Difference between IE6 and FF:
Background: orange; * Background: blue;
Difference between IE6 and IE7:
Background: Green! Important; Background: blue;
Difference between IE7 and FF:
Background: orange; * bac it talent Network (http://it.ad0.cn) kground: green;
Difference ff, IE7, IE6:
Background: orange; * Background: Green! Important; * Background: blue;
Www.ad0.cn
Note: Both IE and standard browsers (such as ff) cannot recognize *;
IE6 can recognize *, but cannot recognize it! Important,
IE7 can recognize * and can also recognize! Important;
FF cannot recognize *, but can recognize it! Important;
IE6 IE7 FF
* √ *
! Important × √
--------------------------------------------------------------------------------
Add another underscore "_",
IE6 supports underlines, while IE7 and Firefox do not.
So you can also distinguish IE6, IE7, and Firefox.
: Background: orange; * Background: green; _ Background: blue;
Note: No matter what method, the order of writing is Firefox's preface, IE7's writing in the middle, and IE6's writing at the end.