Re: <option>
- From: "Jukka K. Korpela" <jkorpela@xxxxxxxxx>
- Date: Sun, 13 May 2007 15:33:33 +0300
Scripsit Jonathan N. Little:
non-breaking space is not the same as a space??
a space is "breakable" and and a non-breaking is not.
They are two distinct characters, though in Unicode, the no-break space U+00A0 is compatibility equivalent to <noBreak> U+0020 space. Thus, in principle, the main difference is in line breaking properties. In practice, other differences can be more important, such as special treatment of U+00A0 as table cell content by web browsers.
Technically, when appearing in an <option> element, the difference of the codes of the characters is important, since it's the code that is sent as part of the form data. The rest depends on what the form handler does with the data.
But what could the difference matter when the character is the sole content of an <option> element, and why would an author use such a degenerated element? I'm afraid the OP is getting farther from his original problem and potentially generating new problems. Explaining the _real_ problem might be a good start.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
.
- References:
- <option>
- From: Man-wai Chang
- Re: <option>
- From: David Dorward
- Re: <option>
- From: Man-wai Chang
- Re: <option>
- From: Jonathan N. Little
- <option>
- Prev by Date: Re: Blank lines and paragraph break in html
- Next by Date: Re: HTML4.01 books
- Previous by thread: Re: <option>
- Next by thread: Blank lines and paragraph break in html
- Index(es):
Relevant Pages
|