"mitch gart" <mg***@kronos.com> wrote in message
news:5e**************************@posting.google.c om...
Is it possible to insert newlines, or some other character,
into <title> or <alt> to get the effect of a tooltip,
The <title> is what typically appears in your browser caption. There is no
such thing as <alt>.
If you're asking about the title and alt *attributes*, I don't know what IE
or Mozilla *do*, but the values are these attributes are supposed to be of
type CDATA, the legal characters from the document character set. Embedded
line feeds are supposed to be ignored, and carriage returns are supposed to
be converted to a single space.
If you want to experiment with what actually happens in a particular
browser, feel free to try any of the following and see if it produces a new
line in your tooltip. I'm skeptical, but you never know.
\0A
\r
\n
<br>
Also: the alt attribute is not intended to produce a tooltip. AFAIK only IE
among current browser versions does produce one; Netscape 6 and onward
don't.