I 정렬 된 목록이 있습니다정지 텍스트 배치
<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
으로 사용하고 마진을 제거하기 위해 돌아갈 수 있기를 원합니다. 그러나 텍스트는 원하는 번호가 아닌 줄 바꿈됩니다.
누구든지이 포장을 끄는 방법을 알고 있습니까?
감사합니다,하지만 그 한 줄에 모든 것을두고 :
이보십시오. 많은 텍스트를 처리하려면 위와 같이 형식화해야합니다. –