Why I Think IE CSS Hacks Should Be Separated

csshacksToday I saw a little post by Brian Cray “Target IE6 and IE7 with only 1 extra character in your CSS” which bugged me a little so I thought I’d post my thoughts. If you haven’t read his blog post, go check it out real quick.

Brian and I (as well as most of the rest of the web world) use the classic “*selector” and “_selector” hacks for IE6 and 7 (as shown in Brian’s post). This is fine and dandy except that Brian includes these hacks with the rest of the non-hacked CSS which I don’t agree with.

Brian argues that by including the hacks with the rest of the CSS it minimizes HTTP requests, saves time (and thus your client’s money), users’ bandwidth, etc. This is where I think Brian has gone wrong and I argue the opposite. read more…