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 (&thinsp;) or zero-width space (&#8203;).++

john.doe&thinsp;@example.com 

++ not suggest using zero-width space, apparently browsers not render correctly (source).


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -