【发布时间】:2013-11-25 08:57:05
【问题描述】:
我正在尝试通过 html 页面中某个部分的 firebug 捕获 css 选择器,但似乎不存在并且 firebug 看不到它。它看不到顶部项目菜单之间的虚线。这是网站:http://debatoversigt.dk/index.php/ct-menu-item-3。 也许这条虚线是由php脚本制作的?
我不知道原因。
【问题讨论】:
我正在尝试通过 html 页面中某个部分的 firebug 捕获 css 选择器,但似乎不存在并且 firebug 看不到它。它看不到顶部项目菜单之间的虚线。这是网站:http://debatoversigt.dk/index.php/ct-menu-item-3。 也许这条虚线是由php脚本制作的?
我不知道原因。
【问题讨论】:
虚线是设置在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;
}
【讨论】: