When I was making a drop-down menu recently, I planned to use pure CSS, but suddenly I saw a troublesome CSS hack code (I rarely pay attention to it), so I recorded it for future reference.
………….
Ite: less than or equal to means less than or equal to IE6 browser, Conditional comments for IE browsers, commonly used in CSShack, JS for IE, etc.
The following are various situations and have not been verified.
1. Recognized by all except IE
2. All IE can recognize
3. Only IE5.0 can recognize
4. Only IE5.0 and IE5.5 can recognize it
5. IE5.0 and IE5.0 or above can recognize it
6. Only IE6 can recognize
7. IE6 and IE6 The following versions can be recognized
8. IE6 and above versions can be recognized
9. Only IE7 can recognize
10. IE7 and versions below IE7 can recognize
11. Recognized by IE7 and above