Re: &nbhy;

At 7:31a -0700 09/21/98, Marco Bleeker wrote:
> A proposal for a new entity in the html charcter set:  
> 
> no-break-hyphen --> &nbhy;
> 
> Since modern browsers use a hyphen for a possible line break (something I had proposed myself a few years ago), I have now felt the need for a no-break-hyphen. In my biology pages, I make lists of species names. Sometimes these lists are in a narrow frame or table column. And often I prefer that the users scrolls or resizes the window, rather than that the species name breaks up. To prevent this when there is a space in the name, I can use  . But I can't prevent it when there is a hyphen.... An alternate option woud be to invent a general {keep together} tag.

Well, Netscape invented one already, and at least MSIE honors it:

   some <NOBR>hyphenated-name</NOBR> here

You can use <WBR> within that element for suggested break points.
I use this to make URLs wrappable:

 <A HREF="http://www.natural-innovations.com/boo/doc-charset.html"><NOBR
 >http://www.natural-innovations.com<WBR>/boo<WBR>/doc-charset.html</NOBR></A>


-Walter

Received on Monday, 21 September 1998 13:16:31 UTC