Reputation: 37
I'm using Bootstrap typical div container. I have two problems to solve:
This is what I've got:
word-wrap: break-word;
-ms-word-break: break-all;
word-break: break-all;
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
It basically works for not letting long strings to overflow the div, but cut words in peaces, like:
something, somethi
ng, something, som
ething, etc.
Any ideas?
Upvotes: 0
Views: 30
Reputation: 1408
Instead of word-break: break-all;
Use word-break: normal;
. it will work.
Upvotes: 2