Removing "bullets" from unordered list <ul>

HtmlCssHtml Lists

Html Problem Overview


I have set this:

list-style: none outside none;

And HTML:

<ul class="menu custompozition4">
    <li class="item-507"><a href=#">Strategic Recruitment Solutions</a>
    </li>
    <li class="item-508"><a href="#">Executive Recruitment</a>
    </li>
    <li class="item-509"><a href="#">Leadership Development</a>
    </li>
    <li class="item-510"><a href="#">Executive Capability Review</a>
    </li>
    <li class="item-511"><a href="#">Board and Executive Coaching</a>
    </li>
    <li class="item-512"><a href="#">Cross Cultutral Coaching</a>
    </li>
    <li class="item-513"><a href="#">Team Enhancement &amp; Coaching</a>
    </li>
    <li class="item-514"><a href="#">Personnel Re-deployment</a>
    </li>
</ul>

but even though bullets are displayed. (I'm not quite sure that those are ul's bullets, because when you hover the text the "bullets" get underlined.)

Image Demo: https://i.imgur.com/2wsnBqP.png

The third level from the menu

Html Solutions


Solution 1 - Html

Have you tried setting

li {list-style-type: none;}

According to https://stackoverflow.com/questions/1027354/need-a-unordered-list-without-any-bullets, you need to add this style to the li elements.

Solution 2 - Html

You can remove the "bullets" by setting the "list-style-type: none;" Like

ul
{
    list-style-type: none;
}

OR

<ul class="menu custompozition4"  style="list-style-type: none;">
    <li class="item-507"><a href=#">Strategic Recruitment Solutions</a>
    </li>
    <li class="item-508"><a href="#">Executive Recruitment</a>
    </li>
    <li class="item-509"><a href="#">Leadership Development</a>
    </li>
    <li class="item-510"><a href="#">Executive Capability Review</a>
    </li>
    <li class="item-511"><a href="#">Board and Executive Coaching</a>
    </li>
    <li class="item-512"><a href="#">Cross Cultutral Coaching</a>
    </li>
    <li class="item-513"><a href="#">Team Enhancement &amp; Coaching</a>
    </li>
    <li class="item-514"><a href="#">Personnel Re-deployment</a>
    </li>
</ul>

Solution 3 - Html

ul.menu li a:before, ul.menu li .item:before, ul.menu li .separator:before {
  content: "\2022";
  font-family: FontAwesome;
  margin-right: 10px;
  display: inline;
  vertical-align: middle;
  font-size: 1.6em;
  font-weight: normal;
}

Is present in your site's CSS, looks like it's coming from a compiled CSS file from within your application. Perhaps from a plugin. Changing the name of the "menu" class you are using should resolve the issue.

Visual for you - http://i.imgur.com/d533SQD.png

Solution 4 - Html

In my case

li {
  list-style-type : none;
}

It doesn't show the bullet but leaved some space for the bullet.

I use

li {
  list-style-type : '';
}

It works perfectly.

Solution 5 - Html

In your css file add following.

ul{
 list-style-type: none;
}

Solution 6 - Html

you can use it this way to

               {
                Fdata.map((point,index) =>(
                  <ul style ={{listStyle:'none'}}key={index} >                  
                    
                    <li className="text_paragraph"style={{fontSize:"0.8rem",color:"#ff1100"}}>{point.list}</li>
                </ul>
                ))
                }

Solution 7 - Html

Try this it works

<ul class="sub-menu" type="none">
		   <li class="sub-menu-list" ng-repeat="menu in list.components">
		       <a class="sub-menu-link">
		           {{ menu.component }}
		       </a>
		   </li>
		</ul>

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionIvanka TodorovaView Question on Stackoverflow
Solution 1 - HtmlnewtonrdView Answer on Stackoverflow
Solution 2 - HtmlMuhammad AwaisView Answer on Stackoverflow
Solution 3 - HtmlzajdView Answer on Stackoverflow
Solution 4 - HtmlvichuView Answer on Stackoverflow
Solution 5 - HtmlRajan PatilView Answer on Stackoverflow
Solution 6 - HtmlPreeti MauryaView Answer on Stackoverflow
Solution 7 - HtmlIgnatius AndrewView Answer on Stackoverflow