我无法删除在线简历中的列表元素符号。我尝试了以下方法:
.nobull {
list-style: none;
list-style-type: none;
}
并清除我的浏览器缓存。 Here in a link to the resume.
最佳答案
您正试图在您的 p
上设置属性标签,您需要在 ul
上显式设置类元素,或嵌入您的 ul
p
内的元素标签(我认为这是无效的标记,但我可能错了)。
ul.no-bull,
.no-bull ul
{
list-style: none;
}
或者,您可以对要点采用“选择加入”的方法,这是大多数人倾向于做的;这使您不必添加 no-bull
每个 ul
.像这样:
ul
{
list-style: none;
margin: 0;
}
ul.has-bullets
{
list-style: none outside disc;
margin-left: 18px;
}
关于wordpress - 如何删除列表元素符号?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11347167/