use*_*681 2 html css html-lists pseudo-element
我的新网站上的列表菜单有问题.
我正在使用li:之前显示一个| 在菜单中的所有项目之前.使用以下css:
#menu li:first-child:before {
content:"";
}
#menu li:before {
content: " | ";
}
Run Code Online (Sandbox Code Playgroud)
由于一些奇怪的原因,这在我已经做了一段时间的网站上工作正常:http://www.oneillsbedandbreakfast.com但它不在我正在处理的网站上工作:http:// www. scoridcottage.com/newdesign
有任何想法吗?