0

I think it is an easy question. What I need to do is put the text of long lines under the number of the list. Something like this:

1 Text text text text Text text text textText text text textText text text textText text text textText text text textText text text textText text text textText text text textText text text text.

In my code I'm using the following structure:

< ol>
< li>
< p> Text

< /li>
< /ol>

Some simple solution? Thanks

1 Answer 1

2

Try this:

ol { list-style-position:inside; } 

The default value is outside.

Demo.

Sign up to request clarification or add additional context in comments.

1 Comment

I used this solution but added an ASCII tab (&emsp;) to give an appearance of a paragraph

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.