Why doesn't word-wrap work properly in CSS3?

前端 未结 7 617
温柔的废话
温柔的废话 2021-02-01 01:44

Why doesn\'t word wrap property work properly in the example below?

http://jsfiddle.net/k5VET/739/

What can I do to ensure that part of the word \'consectetur\'

7条回答
  •  有刺的猬
    2021-02-01 01:59

    To break only long words I used word-break: break-word;. It seems to be deprecated for some reason, but it is the only thing that worked for me. What I need is to break only the words that where too long and needed to be broke.

提交回复
热议问题