ref – https://stackoverflow.com/questions/18225302/how-can-i-wrap-or-break-long-text-word-in-a-fixed-width-span
1 2 3 4 5 |
span { display:block; width:150px; word-wrap: break-word; } |
this:
VeryLongLongLongLongLongLongLongLongLongLongLongLongExample
becomes:
VeryLongLo
ngLongLong
LongLongLo
ngLongLong
LongLongLo
ngExample