Firefox CSS无法正常工作

时间:2014-05-19 08:41:22

标签: html css firefox browser

我正在开发的网站duncanhill.com.au在chrome,safari和opera中看起来很不错,但是当我在firefox上查看时 - 看起来好像没有样式表(见下面的截图)。当我进入检查员(我不使用firefox)时,我甚至无法在任何地方找到style.css文件。

截图:

火狐: Firefox

Safari /铬/歌剧: Safari/Chrome/Opera

以下是style.css文件的链接:

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="css/text">

更新:根据Andy的建议,将链接类型 - type="css/text"更改为type="text/css"

如何让style.css文件生效?

感谢任何帮助!

1 个答案:

答案 0 :(得分:1)

您的link文件看起来好像style.css类型错误。如果这不正确,某些浏览器将无法识别该链接。

变化:

type="css/text"

type="text/css"
相关问题