【问题标题】:Why is the does a website breaks in Internet Explorer 9?为什么 Internet Explorer 9 中的网站会中断?
【发布时间】:2013-05-10 15:51:53
【问题描述】:

我正在试图找出这个网站在 ie9 下崩溃的原因。主页还可以((www.spirulina.pl),但是当我打开任何类别页面时,即http://www.spirulina.pl/category/dieta 标题中断。

发现使用chrome inspect element时出现错误:

资源被解释为样式表,但使用 MIME 类型 text/html 传输:“http://www.spirulina.pl/?shaken-custom-content=css&v=20120305125451”。

这可能是一个原因吗?如果是,我该如何纠正这个错误?

提前致谢

【问题讨论】:

    标签: html css wordpress internet-explorer-9 wordpress-theming


    【解决方案1】:

    您需要从http://www.spirulina.pl/?shaken-custom-content=css&v=20120305125451 发送带有“text/css”标头的资源。

    【讨论】:

    • 谢谢,但是应该怎么做呢?这是否足够: spirulina.pl/…" media="screen" type="text/css">
    • 不,来自您的 PHP 脚本 - 所以在您提供自定义 css 的文件中,类似于header('Content-Type: text/css');
    • 仍然没有找到方法,但会继续尝试。你认为这就是主题中断的原因吗?
    • 可能是这样。标题“中断”是什么意思?
    • 我的意思是在视觉上,模板在 ie9 中的页面顶部中断(不是 html 标题)
    猜你喜欢
    • 2011-12-20
    • 2019-07-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-04-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多