Target IE6 and IE7 Browsers without Conditional Comments


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

The code below will change the background-color of divs depending on what browser the user is viewing the web page under. Since * cascades down to IE7 and below, we use _ after that declaration so that IE6 (and below) has a different background color from IE7.

URL: http://sixrevisions.com/css/10-random-css-tricks-you-might-want-to-know-about/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.