HTML: Soft hypen (­) without dash?

▼魔方 西西 提交于 2019-12-01 03:39:39

Though I'm not sure how this does cross-browser (probably pretty well), you could always use the thin space character ( ) or the zero-width space (​).++

john.doe @example.com

++ I would not suggest using the zero-width space, as apparently some browsers will not render it correctly (source).

Use a zero-width space: ​

john.doe​@example.com

In action here: http://jsfiddle.net/uTXwx/1/

You may want to have a look on css property word-wrap.

And this page seems to be doing what you want.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!