I have the following list:
<ul id="otis">
<li>Benz</li>
<li>Other Benz</li>
<li>Other Other Benz</li>
</ul>
I want to get rid the bullets so i tried:
ul#otis {
list-style-type: none;
}
That didn't work though. What is the proper way to remove the bullets from the displayed list?
Assuming that didn't work, you might want to combine the id
-based selector with the li
in order to apply the css to the li
elements:
#otis li {
list-style-type: none;
}
Reference: