[ACCEPTED]-What's the opposite of a nbsp?-hyphenation
You want the unicode character ZERO-WIDTH 6 SPACE (\u200B).
You can get it in HTML with 5 ​
or ​
.
Explicit breaks and non-breaks:
LB7 4 : Do not break before spaces or zero width 3 space.
LB8 : Break before any character 2 following a zero-width space, even if one 1 or more spaces intervene.
http://unicode.org/reports/tr14/
There also is the little-known wbr tag, which lets 2 the browser to decide whether to break the 1 line or not.
There's a nice page over at quirksmode.org 4 that answers this question quite nicely 3 IMHO. http://www.quirksmode.org/oddsandends/wbr.html
In short: use <wbr /> or ​ (or 2 ­ but you mentioned you don't want 1 the dash).
More Related questions
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.