firoze

IE Compatibility

Jan 9th, 2015
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <p>
  2. <!--[if IE]>
  3. According to the conditional comment this is IE<br />
  4. <![endif]-->
  5. <!--[if IE 6]>
  6. According to the conditional comment this is IE 6<br />
  7. <![endif]-->
  8. <!--[if IE 7]>
  9. According to the conditional comment this is IE 7<br />
  10. <![endif]-->
  11. <!--[if IE 8]>
  12. According to the conditional comment this is IE 8<br />
  13. <![endif]-->
  14. <!--[if IE 9]>
  15. According to the conditional comment this is IE 9<br />
  16. <![endif]-->
  17. <!--[if gte IE 8]>
  18. According to the conditional comment this is IE 8 or higher<br />
  19. <![endif]-->
  20. <!--[if lt IE 9]>
  21. According to the conditional comment this is IE lower than 9<br />
  22. <![endif]-->
  23. <!--[if lte IE 7]>
  24. According to the conditional comment this is IE lower or equal to 7<br />
  25. <![endif]-->
  26. <!--[if gt IE 6]>
  27. According to the conditional comment this is IE greater than 6<br />
  28. <![endif]-->
  29. <!--[if !IE]> -->
  30. According to the conditional comment this is not IE 5-9<br />
  31. <!-- <![endif]-->
  32. </p>
  33.  
  34.  
  35.  
  36. Or,
  37.  
  38. <!--[if lt IE 7]>
  39. <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
  40. <![endif]-->
Add Comment
Please, Sign In to add comment