简体   繁体   English

如何避免出现列表项目符号?

[英]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.

相关问题 如何在HTML列表中将项目符号点居中? - How can I center the bullet points in an HTML list? 我可以只复制一个项目符号图标,它会在移动设备上显示为普通项目符号吗? - Can I just copy a bullet icon and will it appear as normal bullet on mobile devices? 如何使浮动列表项在IE7中显示其项目符号? - How can I have floated list items display their bullet in IE7? 如何在 VBA 的电子邮件正文中向我的 html 项目符号列表添加填充? - How can I add padding to my html bullet point list within an email body in VBA? 我该如何复制 <ol><li> HTML中的项目符号列表带有正确对齐的缩进? - How can I replicate a <ol><li> bullet list in HTML with indents that line up correctly? 如何使用CSS将鼠标悬停在包括项目符号的整个列表元素上? - how can I use CSS to hover over an entire list element including the bullet? 如何在RichTextBox的项目符号列表中添加圈子列表样式? - How do I add circle list style to a bullet list in RichTextBox? 如何更改有序列表 (HTML) 中项目符号的颜色? - How do I change the colour of a bullet in an ordered list (HTML)? 如何修复代码,使项目符号点出现(图像随附的代码)? - How do I fix my code so that the bullet points appear (code provided with image)? 如何设置项目符号列表图标的样式 - how to style a bullet list icon
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM