This must be a dupe, but I've looked at a bunch of "list alignment" questions and I can't find it.
I want the list to align to the left/leading margin, but keep its text aligned when there is more than one line. It's the default behavior in the Pages word processor, for example:
See how the left side of the numbers are perfectly aligned with the word "Text" above.
Is there a way to do this without manually adding/subtracting a hard-coded amount of body padding to line it up? That will be brittle because it will depend on the font.
If I try it with HTML:
<p>Indented too much.</p>
<ol>
<li>Bigfoot</li>
<li>Loch Ness Monster</li>
<li>Chupacabras</li>
</ol>
<p>With padding:0, numbers off to the left:</p>
<ol style='padding-left:0'>
<li>Bigfoot</li>
<li>Loch Ness Monster</li>
<li>Chupacabras<br/> Second line</li>
</ol>
<p>With list-style-position:inside, second line not aligned.</p>
<ol style='list-style-position:inside;padding-left:0'>
<li>Bigfoot</li>
<li>Loch Ness Monster</li>
<li>Chupacabras <br/> Second line</li>
</ol>