What's the preferred way to include a non-breaking space in a Wikipedia article?
-M-
At 08:19 PM 8/11/02 +0100, Matthew Woolcraft wrote:
What's the preferred way to include a non-breaking space in a Wikipedia article?
What's the reason for including a non-breaking space in the Wikipedia article?
That's not snideness: it's key to the answer.
In some cases, the answer is that you don't need or want one--you don't know what the viewer's browser is or how wide the window is, so there's no point trying to govern layout to that degree.
If you're doing a table, we're still sorting out table markup, but it's likely to define rows and columns, not spaces.
For a map or other illustration, there are better ways of handling graphics.
If the space is part of a name, you can either accept that the linebreak may occur between "van" and "Gogh" in "Vincent van Gogh" (usually no big deal) or use the HTML.
On Sunday 11 August 2002 15:47, Vicki Rosenzweig wrote:
At 08:19 PM 8/11/02 +0100, Matthew Woolcraft wrote:
What's the preferred way to include a non-breaking space in a Wikipedia article?
What's the reason for including a non-breaking space in the Wikipedia article?
They're used in some of the taxoboxes for tiny indentation.
phma
What's the reason for including a non-breaking space in the Wikipedia article? That's not snideness: it's key to the answer.
I was looking at some of the music articles, where breaking something like A C E over two lines looks very bad.
But does look nasty in the source - do you think it would put people off from editing?
-M-
Matthew Woodcraft wrote:
What's the reason for including a non-breaking space in the Wikipedia article? That's not snideness: it's key to the answer.
I was looking at some of the music articles, where breaking something like A C E over two lines looks very bad.
But does look nasty in the source - do you think it would put people off from editing?
I'd suggest just putting a <BR> before the string that you want to keep together so that it starts out on a fresh line and has plenty of space to fit itself in together... that's how I'd do it anyway.
Matthew Woodcraft wrote:
What's the preferred way to include a non-breaking space in a Wikipedia article?
A space between other spaces will be automatically made a non-breaking space (so if you put double or more spaces, you get them). If you want a non-breaking space between letters, you probably want to use the character entity like in HTML:
This should not break.
Yes, it's ugly.
-- brion vibber (brion @ pobox.com)
wikipedia-l@lists.wikimedia.org