If you’re trying to preserve indentation for your lists, especially when you have multiple lines, then this is the code that you need. It’s fast, east, simple, and works to keep the indentation for the second line onwards (per bullet-point). As you’d imagine, this will work for both ordered (OL) and unordered (UL) lists.
li {
list-style-position: inside;
text-indent: -1em;
}
THANK YOU! The easiest solution I have found online!
Brilliant! Thank you.
No problems!
Yep… this does the trick! So simple and effective. Thanks!
No problems!