IE8开发者工具不显示样式信息 [英] IE8 Developer Tools not displaying Style info

查看:227
本文介绍了IE8开发者工具不显示样式信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到IE8开发人员工具的问题,当我选择元素时,他们的样式信息没有显示在窗格中。它绝对是页面特定的,因为我可以切换到另一个页面,当我选择一个元素时,该页面将显示样式。

I'm running into an issue with IE8 developer tools where they Style information is not displaying in the pane when I select an element. It is definitely page specific as I can switch to another page and the styles will appear for that page when I select an element.

奇怪的是,如果我为元素添加内联样式,内联元素将显示在样式窗格中。由于页面使用样式进行渲染,因此页面可以很好地查找CSS文件。

Strangely, if I add an inline style to an element, the inline element will display in the style pane. The page finds the CSS files just fine since the page is rendering with the styles.

其他人遇到这样的问题?如果有帮助,我正在开发的页面是Joomla模板。我目前正在通过删除一半代码进行消除过程,然后另一半来识别罪魁祸首代码,但我想我会抛出这个以确定是否有其他人知道。谢谢大家。

Anyone else encounter such a problem? If it helps, the page I'm developing is a Joomla template. I'm currently doing the process-of-elimination by deleting half the code, then the other half to identify the culprit code but I'd thought I'd throw this out to see if anyone else knows. Thanks everyone.

推荐答案

我看到其他人在其他论坛中提到了类似的问题,而且常见的问题与链接标签有关外部样式表。就我而言,它是Google字体目录链接。

I saw others mention similar problems in other forums and the common issue has to do with a link tag to an external stylesheet. In my case, it was a Google Fonts Directory link.

<link href='http://fonts.googleapis.com/css?family=Josefin+Sans+Std+Light' rel='stylesheet' type='text/css' />

暂时删除链接以允许显示样式信息。

Removing the link temporarily allowed to style information to display.

这篇关于IE8开发者工具不显示样式信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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