Browsing Tag

css hacks

Quick Tip: How to Target IE6, IE7, and IE8 Uniquely with 4 Characters
videos

Quick Tip: How to Target IE6, IE7, and IE8 Uniquely with 4 Characters

Two months ago, I, in a video quick tip, demonstrated how to use the underscore and star hacks to target Internet Explorer 6 and 7 in your stylesheets. In today’s quick tip, we’ll take things one step further, as we introduce a new hack that targets IE8 and below as well. It should be noted that this is not a best practice, and conditional comments should be used instead 98% of the time. With that said, it’s always important to know what you can do – plus it’s fun, right?