You can apply css like this:
div {
word-wrap: break-word;
width: 100px;
}
Usually browser does not break words, but word-wrap: break-word; will force it to break words too.
Demo: http://jsfiddle.net/Mp7tc/
More info about word-wrap
You can apply css like this:
div {
word-wrap: break-word;
width: 100px;
}
Usually browser does not break words, but word-wrap: break-word; will force it to break words too.
Demo: http://jsfiddle.net/Mp7tc/
More info about word-wrap