hyphenation - HTML: Soft hypen (­) without dash? -
i have little layout problem: on clients website, show contact information of people in little box. width of box constrained. happens, there people long names (this in germany, after all...), , email address concatenation of given name , family name. result: names, email address overflows constraints given box.
inserting ­
before @
results in correct line break, looks this:
john.doe- @example.com
is possible suppress dash? don't want use <br />
, because 90% of names, available width more enough.
though i'm not sure how cross-browser (probably pretty well), use thin space character ( 
) or zero-width space (++​
).
john.doe @example.com
++ not suggest using zero-width space, apparently browsers not render correctly (source).
Comments
Post a Comment