IE browser checks ( Conditional comments )


/ Published in: PHP
Save to your folder(s)

gt: greater than
lte: less than or equal to

not IE:


Copy this code and paste it in your HTML
  1. <!--[if IE]>
  2.  
  3. <![endif]-->
  4. <!--[if IE 6]>
  5.  
  6. <![endif]-->
  7. <!--[if IE 7]>
  8.  
  9. <![endif]-->
  10. <!--[if IE 8]>
  11.  
  12. <![endif]-->
  13. <!--[if IE 9]>
  14.  
  15. <![endif]-->
  16. <!--[if gte IE 8]>
  17.  
  18. <![endif]-->
  19. <!--[if lt IE 9]>
  20.  
  21. <![endif]-->
  22. <!--[if lte IE 7]>
  23.  
  24. <![endif]-->
  25. <!--[if gt IE 6]>
  26.  
  27. <![endif]-->
  28. <!--[if !IE]> -->
  29.  
  30. <!-- <![endif]-->

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.