IE10 CSS Hacks
By Louis Lazaris on November 21st, 2012 | 68 Comments Last year, Microsoft announced that IE10 will not be supporting conditional comments . With their history, this is obviously a risky move. Up to now, to target quirky behaviour in IE6-9, developers have been using conditional comments , conditional classes , and other IE-specific hacks . But without conditional comments in IE10, the only options we’re left with to target CSS problems are hacks or browser sniffing — and we certainly don’t want to resort to the latter. Interestingly, there have been a few posts and code snippets floating around that apparently do target IE10 specifically using a hack. Below is a summary of these three techniques, for reference. Feature Detecting @cc_on This interesting bit of code is discussed on this Reddit thread , and comes from someone named Rob W. , who posted this code snippet on a StackOverflow thread . The script is inside of an IE-excluding conditional comment to ensur