Search code examples
cssinternet-explorergoogle-chromeconditional-comments

Conditional Comments not working in IE9 (CF environment)


Okay, I'm building a page in a CF environment. I'm testing in chrome/FF & IE9. I'm trying to use conditional Statements for IE to deal with some minor formatting issues.

http://img849.imageshack.us/img849/5108/chromvie.png (reverse the chrome/IE tags and I cannot put the image in the question as I just signed up today, sorry.)

My code:

    <!--[if gte IE 10]><link rel="stylesheet" href="ieonly.css" media="screen" /><![endif]-->

I'm able to go directly the ieonly.css page. I'm at an utter loss. I've looked at some of the other conditional comment threads and haven't been able to resolve my issue with the information. Is it because of the ColdFusion environment?


Solution

  • [if gte IE 10] is greater than or equal to IE 10. IE 9 is less than IE 10.