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?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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​flowwill break the word between “over” and “flow” only when the full word doesn’t fit.