【问题标题】:Firebug can't individuate css selectorFirebug 无法区分 CSS 选择器
【发布时间】:2013-11-25 08:57:05
【问题描述】:

我正在尝试通过 html 页面中某个部分的 firebug 捕获 css 选择器,但似乎不存在并且 firebug 看不到它。它看不到顶部项目菜单之间的虚线。这是网站:http://debatoversigt.dk/index.php/ct-menu-item-3。 也许这条虚线是由php脚本制作的?

我不知道原因。

【问题讨论】:

    标签: php html css firebug


    【解决方案1】:

    虚线是设置在ul.art-hmenu>li:before伪元素上的背景图片。

    这是您要查看/删除的 CSS:

    ul.art-hmenu>li:before {
      position: absolute;
      display: block;
      content: ' ';
      top: 0;
      left: -1px;
      width: 1px;
      height: 43px;
      background: url('../images/menuseparator.png') center center no-repeat;
    }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-11-25
      • 1970-01-01
      • 1970-01-01
      • 2016-04-01
      • 2014-09-03
      • 1970-01-01
      • 2011-08-05
      • 2013-04-26
      相关资源
      最近更新 更多