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.

3
  • 3
    I tried using this method but the indent doesn't work for me if there are line breaks. Text indent will only indent the first line. Commented Jan 8, 2020 at 22:31
  • 1
    Trying this in Chrome just now with list style type outside (I also tried inside) just moves the entire li left or right and doesn't move the text closer or farther from the bullet itself. I tried putting the indent on the ul and on the li and neither had the desired effect. Commented Aug 28, 2020 at 14:07
  • Limited applicability in addition to shitty negative value solution Commented Jul 14, 2024 at 16:48

lang-html