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@[]>
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

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:48 UTC