ol { margin: 0; padding: 0; list-style-position: inside; }

By default, most browsers indent list elements from the left margin. The magic above is the list-style-position style. Without this, your lists will hang over the left margin.
 

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *