non-breakable hyphen

  • Thread starter Gilbert Saint-Flour
  • Start date
G

Gilbert Saint-Flour

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.
 
P

PeterMcC

Gilbert Saint-Flour wrote in
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top