Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]
In the ol tag has stopped working the start attribute after you add your numeracy, what to do to make it work again? - bug-code.com Q&A

In the ol tag has stopped working the start attribute after you add your numeracy, what to do to make it work again?

0 like 0 dislike
9 views
In the ol tag has stopped working the start attribute after you add your marker. Here is an example page Instead of counting from the 3 element, the count starts over.

In order to display your own markers, I added this code:
ol { list-style: decimal; padding-left: 14px; counter-reset: myCounter; } ol li { list-style: none; } ol li:before { counter-increment: myCounter; content:counter(myCounter); color: white; background: #fe754a; display: inline-block; text-align: center; margin: 5px 6px 3px -32px; line-height: 25px; width: 25px; height: 25px; }

How to make Tarbut start working again?
asked by | 9 views

1 Answer

0 like 0 dislike
What are you questions the average level of mark, when is enough just to look in the documentation?

Use the starting value in the property counter-reset

ol { counter-reset: MyCounter 10; }
answered by
Welcome to Bug-code Q&A, where you can ask questions and receive answers from other members of the community.

24.8k questions

46.2k answers

0 comments

12.7k users

24,788 questions
46,220 answers
0 comments
12,715 users