私は順序付きリストを持っています:
<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 タグの余白を調整します。ただし、これは、2 桁または 3 桁の場合、いくつかの悪影響を及ぼしました。IE では数字が切り捨てられていたので、これらの余白を使用する必要がありました。list-style-position
of を使用しinside
て余白を削除できるようにしたいのですが、テキストが数値の下で折り返されてしまいます。これは私が望むものではありません。
このラッピングをオフにする方法を知っている人はいますか?