IE中未加载CSS类. [英] Css class not loaded in IE.

查看:81
本文介绍了IE中未加载CSS类.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在开发中的MVC项目中..我正在使用一个css文件.一个类写在css文件中并在一页上使用.在本地它对于IE和firefox也可以正常工作.为了进行调试,我在Firebug中使用IE的forebug和F12来显示IE类,而在IE类中则不显示该类.

Hi,

In MVC project while development.. i am using one css file.A class is written in css file and use on one page.Locally it is working fine for IE and firefox also..but after deployment in IE css class is not loaded.For debugging i use forebug and F12 for IE in firebug it show class while in IE class is not displayed.

推荐答案

不确定CSS的内容.如果您具有HTML5支持的元素,那么IE中将是一个问题.我的建议是通过W3C验证程序运行它,以清除无效的标记.参考: http://validator.w3.org/ [ ^ ]
Not sure of the content of CSS. If you have HTML5 supported elements, then it will be an issue in IE. My advice would be to run it through the W3C validator to clear up the invalid mark up. Ref: http://validator.w3.org/[^]


这篇关于IE中未加载CSS类.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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