DIV に段落を入れましたが、テキストが div よりも長い場合、新しい行は作成されませんが、DIV の外に出ます。試してみましたが、うまく -moz-hyphens:auto; -ms-hyphens:auto; -webkit-hyphens:auto; hyphens:auto; word-wrap:break-word;
いきません。
divのコードは次のとおりです。
<div id="content">
<p id="test">tfufygigighfetefddddddddddddsssssssssssssssssssssssssssssssssssssssssssfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff</p>
</div>
div の css コード:
#content {
float:left;
position:absolute;
background-color:#D4D3D0;
height:500px;
width:80%;
}
そして段落のcss:
p.test {
-moz-hyphens:auto;
-ms-hyphens:auto;
-webkit-hyphens:auto;
hyphens:auto;
word-wrap:break-word;
}