私はここで奇妙な何かについてword-wrap
のみ適切にCSSのプロパティwidth
で動作を発見しました。
HTML:
<b>This is the example of word-wrap only using width property</b>
<p id="ONLYwidth">827938828ey823876te37257e5t328er6367r5erd663275e65r532r6s3624e5645376er563rdr753624e544341763r567r4e56r326r5632r65sr32dr32udr56r634r57rd63725</p>
<br/>
<b>This is the example of word-wrap without width property</b>
<p id="wordwrapWITHOUTWidth">827938828ey823876te37257e5t328er6367r5erd663275e65r532r6s3624e5645376er563rdr753624e544341763r567r4e56r326r5632r65sr32dr32udr56r634r57rd63725</p>
<br/>
<b>This is the example of word-wrap with width property</b>
<p id="wordwrapWITHWidth">827938828ey823876te37257e5t328er6367r5erd663275e65r532r6s3624e5645376er563rdr753624e544341763r567r4e56r326r5632r65sr32dr32udr56r634r57rd63725</p>
CSS:
#ONLYwidth{
width:200px;
}
#wordwrapWITHOUTWidth
{
word-wrap: break-word;
}
#wordwrapWITHWidth
{
width:200px;
word-wrap: break-word;
}
ここでは、私はそれについて準備した作業のデモです。 http://jsfiddle.net/Hss5g/2/
私はそれが遅すぎると知っていますが、それは他人を助けることができます!
apperently stackoverflow.com私がここに必要なものを実装しています。 2行目から続きます。このページのソースコードを見ると、ポストテキストの場合は次のようになります。width:660px; font-size:107%; margin-bottom:5px; margin-right:5px; 線高さ:130%; – tugberk