Suppose I have a div such as
<div style="width:100px"> asdflkjfdlkasdfjlksdafjlksadfjldksfjlkadfjlkdjfkldajflkd</div>
The enclosed text will still flow out of the div because the browser doesn't know where to insert a new line. You will need to modify the above code like this
<div style="width:100px; word-wrap:break-word;"> asdflkjfdlkasdfjlksdafjlksadfjldksfjlkadfjlkdjfkldajflkd</div>
Advertisement
Use {text-align: justify}