У меня есть заказанный список:
<ol>
<li>They used to bring concerns about their children or their marriages. But increasingly parishioners are also telling Glen VanderKloot, a Lutheran minister in Springfield, Ill., about their financial worries, and that puts him in the unusual position of dispensing investment advice.</li>
<li>This is the Second g</li>
<li>This is the Third g</li>
<li>This is the fourth g</li>
<li> <strong>This is the fifth g</strong> </li>
<li>This is the seventh g</li>
<li>This is the eight g</li>
<li>This is the ninth g</li>
<li>This is the tenth g</li>
<li>This is the eleventh g</li>
<li>This is the twelvth g</li>
</ol>
Это выглядит следующим образом:
1. They used to bring concerns about their children or their marriages. But
increasingly parishioners are also telling Glen VanderKloot, a Lutheran
minister in Springfield, Ill., about their financial worries, and that puts
him in the unusual position of dispensing investment advice.
2. This is the Second g
3. This is the Third g
4. This is the fourth g
5. This is the fifth g
6. This is the seventh g
7. This is the eight g
8. This is the ninth g
9. This is the tenth g
10. This is the eleventh g
11. This is the twelvth g
Когда у меня много текста, например, первого элемента, я хочу, чтобы он был отформатирован, как указано выше. Я смог сделать это, установив:
list-style-position:outside;
и настройку полей для тегов li и ol. Однако это имело некоторые побочные эффекты, когда у меня были двузначные и тройные цифры. Я должен был использовать эти поля, так как в IE цифры были обрезаны. Я хотел бы иметь возможность вернуться к использованию list-style-position
из inside
и удалить поля, но текст переносится под номером, который не тот, который я хочу.
Кто-нибудь знает, как отключить эту упаковку?