我试图通过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;
}