467,165 Members | 978 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,165 developers. It's quick & easy.

non-breakable hyphen

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
  • viewed: 2593
Share:
2 Replies
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
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.

Similar topics

3 posts views Thread by Mario | last post: by
25 posts views Thread by Yves Glodt | last post: by
32 posts views Thread by Adrian Herscu | last post: by
8 posts views Thread by Bern McCarty | last post: by
14 posts views Thread by Patrick Kowalzick | last post: by
11 posts views Thread by ypjofficial@indiatimes.com | last post: by
399 posts views Thread by =?UTF-8?B?Ik1hcnRpbiB2LiBMw7Z3aXMi?= | last post: by
12 posts views Thread by puzzlecracker | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.