By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,739 Members | 1,059 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,739 IT Pros & Developers. It's quick & easy.

non-breakable hyphen

P: n/a
Hello:

How can I prevent a string of characters which contains a hyphen (e.g.
ABCDEF-GH) from being split when it is displayed at the end of a line and
there isn't enough room for it? I know <nobr>ABCDEF-GH</nobr> will do the
trick, but is there another solution ?

Thanks.
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Gilbert Saint-Flour wrote in
<pa****************************@yahoo.com>
Hello:
Hi
How can I prevent a string of characters which contains a hyphen (e.g.
ABCDEF-GH) from being split when it is displayed at the end of a line
and there isn't enough room for it? I know <nobr>ABCDEF-GH</nobr>
will do the trick, but is there another solution ?


‑ may help.

--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.
Jul 20 '05 #2

P: n/a
Gilbert Saint-Flour wrote:

How can I prevent a string of characters which contains a hyphen (e.g.
ABCDEF-GH) from being split when it is displayed at the end of a line
and there isn't enough room for it? I know <nobr>ABCDEF-GH</nobr>
will do the trick, but is there another solution ?

May be a start...
http://www.cs.tut.fi/~jkorpela/html/nobr.html

--
Google Blogoscoped
http://blog.outer-court.com
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.