We Recommend

CSS: The Definitive Guide CSS: The Definitive Guide
Provides you with a comprehensive guide to CSS implementation, along with a thorough review of all aspects of CSS 2.1. Updated to cover Internet Explorer 7, Microsoft's vastly improved browser, this new edition includes content on positioning, text wrapping (nowrap), lists and generated content, table layout, user interface, paged media, and more.


Posted By

Freese on 01/14/08


Tagged

css hacks


Versions (?)


Who likes this?

3 people have marked this snippet as a favorite

arala22
stoker
asturi


Conditional Comments for IE


Published in: CSS 


URL: http://www.quirksmode.org/css/condcom.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]-->

Report this snippet 

You need to login to post a comment.