d
Amit DhamuSoftware Engineer
 

Conditional IE Statements

1 minute read 00000 views
<!--[if IE]>
   According to the conditional comment this is IE
<![endif]-->

<!--[if IE 6]>
  According to the conditional comment this is IE 6
<![endif]-->

<!--[if IE 7]>
  According to the conditional comment this is IE 7
<![endif]-->

<!--[if IE 8]>
  According to the conditional comment this is IE 8
<![endif]-->

<!--[if IE 9]>
  According to the conditional comment this is IE 9
<![endif]-->

<!--[if gte IE 8]>
  According to the conditional comment this is IE 8 or higher
<![endif]-->

<!--[if lt IE 9]>
  According to the conditional comment this is IE lower than 9
<![endif]-->

<!--[if lte IE 7]>
  According to the conditional comment this is IE lower or equal to 7
<![endif]-->

<!--[if gt IE 6]>
  According to the conditional comment this is IE greater than 6
<![endif]-->

<!--[if !IE]>
  According to the conditional comment this is not IE
<![endif]-->

Credits