条件注释不工作在IE9(CF环境) [英] Conditional Comments not working in IE9 (CF environment)

查看:85
本文介绍了条件注释不工作在IE9(CF环境)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我在CF环境中创建一个页面。我在chrome / FF& IE9。我想使用条件语句来处理一些细微的格式问题。。

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
(反向chrome / IE标签,我不能把图片)

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.)

我的代码:

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

我可以直接进入ieonly.css页面。我完全失去了。我已经查看了一些其他条件注释线程,无法解决我的问题的信息。是因为ColdFusion环境吗?

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?

推荐答案

[if gte IE 10] 大于或等于IE 10.IE 9小于IE 10。

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

这篇关于条件注释不工作在IE9(CF环境)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆