Can I add a line break in a title, as called for below, after "HERE?"
<img src="..test.jpg" "title="I want a line break HERE THIS should be on the lower line."/>
Thanks. - Jim
Printable View
Can I add a line break in a title, as called for below, after "HERE?"
<img src="..test.jpg" "title="I want a line break HERE THIS should be on the lower line."/>
Thanks. - Jim
No you cannot.
If you want formatting, you will need to use a tool tip of some sort. qTip is a nice relatively simple tool that I have used for this sort of thing.
Hi there jimRedfield,
yes you certainly can. ;)
Try it like this...
The code has been tested in IE9, Firefox 13, Opera 11.62 and Safari 5.1.7.Code:title="I want a line break HERE&#13;THIS should be on the lower line."
coothead
napOleon - No harm, no foul re the wrong answer. ...I, of course, never make mistakes like that. :-)
coothead - Thanks for the code - works like a charm.
Do either of you know if additional formatting can be done to title tags? Things like a better spec for the box background color, corners, lines, etc.?
Again, help appreciated. No need to respond if there's nothing to add. - Jim
Hi there jimRedfield,
To the best of my knowledge, no. :(Quote:
...Do either of you know if additional formatting can be done to title tags?...
As our friend nap0leon suggested, CSS tooltips would be the method to use. ;)
coothead
Thanks again, again. Just what I needed to be pointed at. - Jim
No problem, you're very welcome. ;)
Wow - wonder when support for this started... It was a few years ago when I tried to do this and instead went with qTip.
Learn new stuff every day!
Tested this in IE, Chrome, Safari, Firefox (latest versions 2012-11-27):
& #13; (Without space between & and #)
Works in all of them...
Interesting. Wonder if you can break down &#13; or explain what it stands for? Looks like a special character &____; code inside another ?
Hi there auntnini,
when I made that post on the 18th June the code was...
...which is what MortenManden also suggested today.
Since my post, the forums have gone through an upgrade and I can only assume that is the cause of #13;:eek:
coothead
Thanks Coothead.
No problem, you're very welcome. ;)
coothead
Hi there adamdani,
and a warm to these forums. ;)
Please read post #11 for an explanation as to why.Quote:
...It is not working with me...
coothead