Andrew Andrew - 1 year ago 79
CSS Question

HTML opposite of non-breaking space

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 placeholder. How can I achieve this sort of thing?

Answer Source

Maybe the Unicode zero-width space would help:

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