IE condition

Note the special syntax:
!: not
It: less than
lte: less than or equal to
gt: greater than
gte: greater than or equal to

[html]
<!–[if !IE]>
Other than IE condition status<br />
<![endif]–>

<!–[if IE 6]>
Only IE 6<br />
<![endif]–>

<!–[if gt IE 6]>
IE 7 and higher<br />
<![endif]–>

<!–[if gte IE 8]>
IE 8 or higher<br />
<![endif]–>

<!–[if lt IE 9]>
IE 8 and below<br />
<![endif]–>

<!–[if lte IE 7]>
IE 7 or lower<br />
<![endif]–>
[/html]

IE version css

<!--[if IE 8]> 
<style type="text/css"> 
/* css for IE 8 */ 
</style> 
<![endif]-->
<!--[if lt IE 8]> 
<link href="ie7.css" rel="stylesheet" type="text/css" />
<![endif]-->
  • <!--[if IE 8]> = IE8
  • <!--[if lt IE 8]> = IE7 or below
  • <!--[if gte IE 8]> = greater than or equal to IE8

http://webdesignerwall.com/tutorials/css-specific-for-internet-explorer