Posted By

ibob on 02/07/13


Tagged


Versions (?)

IE Conditional CSS


 / Published in: CSS
 

  1. Use "\9" to target IE8 and below.
  2. Use "*" to target IE7 and below.
  3. Use "_" to target IE6.
  4.  
  5. Example:
  6.  
  7. body {
  8. border:1px solid red; /* standard */
  9. border:1px solid blue\9; /* IE8 and below */
  10. *border:1px solid orange; /* IE7 and below */
  11. _border:1px solid blue; /* IE6 */
  12. }

Report this snippet  

You need to login to post a comment.