Scroll to top AdvertisementAdvertisementAdvertisementAdvertisementAdvertisement Jeffrey Way Last updated Jan 21, 2010 Read Time: 1 min HTML & CSSWeb DevelopmentIE6IE7 Did you know that, with the addition of only two characters, you can target both Internet Explorer 6 and 7 in your stylesheets? It's easy...I'll show you! Subscribe to our YouTube page to watch all of the video tutorials! At a Glance 1 2 #someElement { 3 background: red; /* modern browsers */ 4 *background: green; /* IE 7 and below */ 5 _background: yellow; /* IE6 exclusively */ 6 } Follow us on Twitter, or subscribe to the Nettuts+ RSS Feed for the best web development tutorials on the web. AdvertisementHTML & CSSWeb DevelopmentIE6IE7 Did you find this post useful? Yes No Want a weekly email summary?Subscribe below and we’ll send you a weekly email summary of all new Web Design tutorials. Never miss out on learning about the next big thing.Sign upJeffrey WayI used to be the editor of Nettuts+ and head of web development courses at Tuts+.jeffrey_wayAdvertisementAdvertisementAdvertisement