W3C home > Mailing lists > Public > www-html@w3.org > September 1998

Re: &nbhy;

From: Walter Ian Kaye <walter@natural-innovations.com>
Date: Mon, 21 Sep 1998 10:14:33 -0700
Message-Id: <v03130302b22c35e838d7@[134.79.129.61]>
To: www-html@w3.org
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 &nbsp;. 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:37 GMT