Statements in CSS that determine the version of IE<!--[if GTE ie 6]> only ie 6/+ <! [EndIf] -: 1.<!--[if! Ie]> <!--<! in addition to IE [EndIf] -2.<!--[If ie]> all IE recognizable <! [EndIf] -3.<!--[If IE 5.0]> only IE5.0 can be identified <! [EndIf] -4.<!--[If IE 5]> only IE5.0 and IE5.5 can be identified <! [EndIf] -5.<!--[If GT IE 5.0]> IE5.0 and IE5.0 above can be identified <! [EndIf] -6.<!--[If IE 6]> only IE6 recognizable <! [EndIf] -7.<!--[If Lt IE 6]> IE6 and IE6 The following versions are recognized <! [EndIf] -8.<!--[If GTE IE 6]> IE6 and IE6 above are recognized <! [EndIf] -9.<!--[If IE 7]> only IE7 recognizable <! [EndIf] -.<!--[If Lt IE 7]> IE7 and IE7 The following versions are recognized <! [EndIf] -One by one .<!--[If GTE IE 7]> IE7 and IE7 above are recognized <! [EndIf] -
Adjust browser compatibility, example
1 <!-- [If Ie]> 2 <style> 3 . test{color:red;} 4 </style> 5 <! [EndIf] -
CSS only takes effect in the specified IE browser