css - 为什么某些 CSS 元素无法出现在 IE Dev Toolbar 的 CSS 选项卡中?

标签 css internet-explorer-8

我注意到在 IE 8 Dev Toolbar 的 CSS 选项卡中,只显示了一些 CSS 元素。有谁知道为什么会这样?

例如,在 CSS 文件中,我可能有:

.A
{
    cursor: pointer;
    color: #09F;
}
.B
{
    color: #999;
}
.C:hover
{
  text-decoration: underline;
}

但是IE8的Dev Toolbar会显示:

.A
{
    cursor: pointer;
    color: #09F;
}
.C:hover
{
  text-decoration: underline;
}

最佳答案

只是一个猜测,但也许您的文档没有任何 .B 项,或者 .B 中的所有内容在使用它的任何地方都被覆盖并且 IE 对其进行垃圾收集?或者,您可能正在从缓存中加载旧版本的 CSS 表,需要刷新它或清除缓存。

关于css - 为什么某些 CSS 元素无法出现在 IE Dev Toolbar 的 CSS 选项卡中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1395479/

相关文章:

css - codepen 禁用外部图像链接

jquery - 显示/隐藏 - jQuery 问题

ruby-on-rails - 表格列宽不增加

javascript - window.print() 在 IE7 和 IE8 中卡住

css - IE8 : what to use in place of nth-of-type(n)?

jquery - IE7+8动画bug,背景色+CSS3圆 Angular

jquery - 无法选择子 div jQuery

javascript - 单击使用 CSS 后如何更改 Bootstrap 标签背景颜色?

css - IE 8 不获取 CSS

internet-explorer-8 - ReactJS 与 IE8 不工作