HTML opposite of non-breaking space

后端 未结 5 1547
[愿得一人]
[愿得一人] 2020-12-30 19:29

In my HTML I have a very long word and I\'m trying to force a specific break point only when there isn\'t enough room. What I need is a sort of conditional-breaking placehol

5条回答
  •  庸人自扰
    2020-12-30 20:02

    Maybe the Unicode zero-width space would help: http://www.fileformat.info/info/unicode/char/200b/index.htm

    The HTML entity is e.g. over​flow will break the word between "over" and "flow" only when the full word doesn't fit.

提交回复
热议问题