[英]How can I avoid a list bullet to appear?
I am working on a website.我在一个网站上工作。 In the header bar, I have included some contact information.
在标题栏中,我包含了一些联系信息。
For some reason the first field (name field with my address in it) has a bullet before it.出于某种原因,第一个字段(其中包含我的地址的名称字段)前面有一个项目符号。 On Chrome, this displays before the address, on IE and Edge it displays to the left of the main content area in the blue.
在 Chrome 上,它显示在地址之前,在 IE 和 Edge 上,它以蓝色显示在主要内容区域的左侧。 I cannot figure out how to eliminate this.
我不知道如何消除这种情况。
You can use您可以使用
ul {
list-style: none;
}
for that.为了那个原因。
list-style: none
removes all list stylings. list-style: none
删除所有列表list-style: none
。
Also maybe check if your markup is valid.也可以检查您的标记是否有效。 maybe there is a missing, closing tag
也许有一个丢失的结束标签
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.