Posted By

a1ias on 07/28/11


Tagged

ie


Versions (?)

Conditional comments


 / Published in: HTML
 

  1. <!--[if IE]>
  2. According to the conditional comment this is Internet Explorer
  3. <![endif]-->
  4.  
  5. <!--[if IE 5]>
  6. According to the conditional comment this is Internet Explorer 5
  7. <![endif]-->
  8.  
  9. <!--[if IE 5.0]>
  10. According to the conditional comment this is Internet Explorer 5.0
  11. <![endif]-->
  12.  
  13. <!--[if IE 5.5]>
  14. According to the conditional comment this is Internet Explorer 5.5
  15. <![endif]-->
  16.  
  17. <!--[if IE 6]>
  18. According to the conditional comment this is Internet Explorer 6
  19. <![endif]-->
  20.  
  21. <!--[if IE 7]>
  22. According to the conditional comment this is Internet Explorer 7
  23. <![endif]-->
  24.  
  25. <!--[if gte IE 5]>
  26. According to the conditional comment this is Internet Explorer 5 and up
  27. <![endif]-->
  28.  
  29. <!--[if lt IE 6]>
  30. According to the conditional comment this is Internet Explorer lower than 6
  31. <![endif]-->
  32.  
  33. <!--[if lte IE 5.5]>
  34. According to the conditional comment this is Internet Explorer lower or equal to 5.5
  35. <![endif]-->
  36.  
  37. <!--[if gt IE 6]>
  38. According to the conditional comment this is Internet Explorer greater than 6
  39. <![endif]-->

Report this snippet  

You need to login to post a comment.