Conditional Comments for IE


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



Copy this code and paste it in your HTML
  1. <!--[if IE 6]>
  2. Your style for Internet Explorer 6 here
  3. <![endif]-->
  4.  
  5. <!--[if IE 7]>
  6. Your style for Internet Explorer 7 here
  7. <![endif]-->
  8.  
  9. <!--[if gte IE 5]>
  10. Your style for Internet Explorer 5 and up here
  11. <![endif]-->
  12.  
  13. <!--[if lte IE 7]>
  14. Your style for Internet Explorer lower or equal to 7 here
  15. <![endif]-->
  16.  
  17. <!--[if gt IE 5.5]>
  18. Your style for Internet Explorer greater than 5.5 here
  19. <![endif]-->

URL: http://www.quirksmode.org/css/condcom.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.