M
M
Maxim Timofeev2015-10-14 12:12:24
css
Maxim Timofeev, 2015-10-14 12:12:24

How to indent text in a list evenly?

Maybe I'm overheating, but I need help. There is a numbered list, the markers (numbers) of which are styled via css. It is necessary to indent the text when wrapping, so that the wrapped line starts at the same level as the start text.
Here https://jsfiddle.net/7fuaemhs/
Here you can see in paragraph 2 - the line is long and is transferred. And the beginning of its transfer goes further to the left than we would like.
Moved the pseudo-marker outside the li, almost it, but now there is a strange indent to the right of the transferred line.
https://jsfiddle.net/7fuaemhs/2/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Stepanov, 2015-10-14
@zloycoder

https://jsfiddle.net/3hd2x2fp/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question