[WEB4LIB] defining HTML line-break points?

Fernando Gómez fgomez at criba.edu.ar
Mon Feb 4 11:59:40 EST 2002


Kenneth:

Instead of explicitly allow break points, you can explicitly *forbid* break
points, replacing
a whitespace with the entity   (nbsp stands for "non-break space").

For example, the line:

| Alumni & Friends |

will never break around the ampersand.


Regards,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fernando Gómez
email: fgomez at criba.edu.ar
ICQ 141305109
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Biblioteca Antonio Monteiro
Instituto de Matemática de Bahía Blanca
CONICET-UNS
Av. Alem 1253
Bahía Blanca - Argentina
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

----- Original Message -----
From: "Kenneth Irwin" <kirwin at wittenberg.edu>
To: "Multiple recipients of list" <web4lib at webjunction.org>
Sent: Monday, February 04, 2002 1:10 PM
Subject: [WEB4LIB] defining HTML line-break points?


> Hi folks,
>
> Does anyone know if it's possible in HTML to define preferred points for
> breaking a line -- something that a browser would interpret as "hey, if
you
> have to wrap this line, break it <here>";
>
> Here's the instance I have in mind; at the bottom of our library page we
> have links to the other sections of the University web page, separated by
> pipes "|"
>
> | Wittenberg Home | Prospective Students | Wittenberg Students | Alumni &
> Friends | Parents & Visitors | Faculty & Staff |
>
> In some browsers/resolutions/fonts this shows up very nicely all in one
> line; in some it wraps. On *my* screen, it breaks at the ampersand in
> "Parents & Visitors"; I'd rather have it break a pipe where it has to
break
> at all, but I'd rather not have it break when possible.
>
> Any ideas, or am i just too darn picky?
>
> Thanks
> Ken
> Ken Irwin                             kirwin at wittenberg.edu
> Reference/Electronic Resources Librarian (937) 327-7594
> Thomas Library, Wittenberg University
>
>



More information about the Web4lib mailing list