我试图通过 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;
}
关于php - Firebug 无法个性化 css 选择器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20183173/