Saturday, 4 May 2013

Re:   Non-breaking space.

In article <534696f6bcbbailey@argonet.co.uk>, Brian Bailey
<bbailey@argonet.co.uk> wrote:


> > #1096

> > I included a list of names on a webpage the other day and my
> > co-editor doesn't like to see name split across a line. I agree: when
> > lines are long a split name looks silly when you can easily place a
> > non-breaking space between forename and surname. Browsers know not to
> > split a line at a non-breaking space, don't they? Except Netsurf?

> > I have not reported this as a bug (yet) because I expect a crescendo
> > of "we know"!

> > See the production crew near the foot of the page. All the names have
> > &nbsp; in them:
> > http://www.youngtheatre.co.uk/archive/199209_blithespirit/

> > (One aspect of line endings I see does seem to be fixed and that was
> > the spurious line feeds which I saw in tables. Hurrah for that!!)

> Not sure if you are or aren't saying that you are unhappy with the end
> result.

I would prefer it if Netsurf would treat &nbsp; as the special kind of
space it is and not break lines at it.


> I'm no expert but isn't something odd happening round the last
> '&' where the ';' doesn't show. Is that forcing the surname to the next
> line, perhaps??

I don't think so. The semi-colon at the end of most names is just that, a
semi-colon. Using commmas, no punctuation or missing one off a couple of
names doesn't make any difference. All the &nbsp; and the &amp; entities
are intact.

Just a bare-bones list of random words separated in pairs with only
&nbsp; between the words of each pair still has linebreaks at the &nbsp;
where it shouldn't. There is nothing special about the list of names I
was using. More's the pity.

No comments:

Post a Comment