View Full Version : Word Hyphenate in html, question.

07-18-2011, 11:19 AM
Hello, I have a site and for the first time in a textbox i need to make a separation of a word, to hyphenate it. The word is "correspondence". It should be like this "correspond-" and the "ence" on a next line. After the dash i put a <br> tag, on my computer is looking good I checked On Firefox and IE., but on my friends computer is looking like this:
"Text text text text text text text text text correspond
ence text text text text text"

How should I hyphanate it, to look correct, what tag should I use. And the hard thing is that I can't check because on my computer is looking good even if I'm pressing F5. I suggested to him as well, but on his computer the problem persists

Thank you

07-18-2011, 11:37 AM
Share your site link here.. let us check and try on our systems

07-18-2011, 11:52 AM

this is the page and the third line hyphenation is the problem. If it is looking good on your computer too so please tell me what should I recommend to him to do with it to look good on his as well. Wherever I checked is good but on his phone and one his computer is not good.


07-18-2011, 12:10 PM
There is a special character for this, it’s called “soft hyphen”, and I believe it’s pretty well supported across browsers nowadays. Basically you insert the soft hyphen character with the HTML entity ­ into the word and it will break there if applicable, or it will be just a regular word if no breaking is necessary. So, you’d just write “correspond­ence” and the word will wrap, displaying a hyphen, if necessary.

07-18-2011, 12:16 PM
It is displaying fine on my system :)

07-18-2011, 03:25 PM
It is very strange to want this when your text is ragged, and looks horribly wrong and bizarre. Why exactly do you want to do this?

07-19-2011, 07:44 AM
It is a request from my friend, and again I've got the reply that on internet explorer the HTML entity (soft hyphenation, *) *doesn't help. In the beginning the text was justify, but he asked me to put it like this. After your opinion how should it look the text, justify? So this hyphenate thing it is killing me. I'm putting the link again with the inserted soft hyphenation, on the third line (http://legalwritingcoach.com/three.htm). On his computer the word correspondence is going down one line and it is not hyphenated, I checked on my IPhone and it is not hyphenated neither. If anyone has a further idea, thanks for it.

07-19-2011, 08:27 AM
I tried it's working on Firefox but not on the IE and neither on IPhone. Further tips? Thanks

07-19-2011, 05:03 PM
I tried it's working on Firefox but not on the IE and neither on IPhone. Further tips? Thanks

It's not fully supported. Hyphenation was never really designed for the screen and is only slowly gaining support. On screen, it is traditional for your text to be ragged and unhyphenated; in print, it is traditional for text to be flush and hyphenated when necessary.