How to Target IE6 and IE7 with Only Two Characters


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



Copy this code and paste it in your HTML
  1. #someElement {
  2. background: red; /* modern browsers */
  3. *background: green; /* IE 7 and below */
  4. _background: yellow; /* IE6 exclusively */
  5. }

URL: http://net.tutsplus.com/videos/screencasts/quick-tip-how-to-target-ie6-and-ie7-with-only-two-characters/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.