Hairyloon
|
Formatting title bubbles in HTMLOK, you know when you point at something on a web page, and it shows a little bubble with information in it.
I know you can do that by:
<a title="some information comes up">When you point here</a>, but that displays the information in one big lump.
I want to put it into paragraphs, how can you make it do a new line?
|
Chez
|
I'm not sure that you can with HTML. Unless there is an ascii character for hard-return that might work? It might be a javascript thing.
Hopefully a Web Guru will be along in a minute to tell you that I'm wrong .
|
vegplot
|
| Chez wrote: | I'm not sure that you can with HTML. Unless there is an ascii character for hard-return that might work? It might be a javascript thing.
Hopefully a Web Guru will be along in a minute to tell you that I'm wrong . |
Javascript it is. This may be of use http://trentrichardson.com/examples/csstooltips/
edit: That's a CSS only implementation which maybe preferable
|
Maxwell Smart
|
If it's an image the ALT tag will make the text box appear in most browsers, otherwise use javascript as posted previously...
|
Hairyloon
|
Thank you. That seems to work. Well enough for now at least.
|