2

I have read about word-wrap and word-break here I wonder how about mix of them, such as:

<span style="width: 70px; word-wrap:break-word; word-break: break-all;"> your text hereeeeeeeeeeeee </span>

maybe display as:

your text
hereeeeeee
eeeee

first wrap word with whitespace, then if length of 'hereeeeeeeeeeeee' more than 70px then break-all ? but it seem to be always use break-all.

there is any way too make it work :-? css or jQuery

Community
  • 1
  • 1

0 Answers0