Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 4
    Nice & simple answer. I would add that setting margin-left: -5px (or whatever value) will decrease the space between the bullet and the <li> element Commented Aug 28, 2015 at 11:32
  • 4
    Note: This does not support hanging indents Commented Mar 29, 2017 at 20:05
  • Awesome answer, this worked perfectly with the most minimal amount of work! Thanks! Commented Apr 11, 2017 at 15:41
  • This increases the gap between the marker and the list text. Still lacks the solution to remove the default spacing. Commented Jul 14, 2024 at 16:38

lang-html