Reputation: 23151
Let's assume i have a a
tag with title attribute
<a title="some text here">
;
is it possible to change the width of area, in which the title shown?
Thanks much
Upvotes: 0
Views: 49
Reputation: 9690
Instead of relying on static title
tooltip, you can implement your own tooltips.
Take a look at: 15 jQuery Plugins to Create Tooltips
Upvotes: 0
Reputation: 4038
The only thing you may do is to add padding with white-space characters, such as
<a title=" some text here ">
Not really setting the width, but that's what you get :p Not sure about browser compatibility, but it works here on chrome.
EDIT: Actually don't have to use entities either it seems, so plain spacebar-pressing is sufficient..
Upvotes: 0
Reputation: 10219
No you can't, but still you got a lot of jQuery add on to do that. For example, i use tipsy
Upvotes: 0
Reputation: 1039130
No, the title
is browser specific implementation. You will need to roll your own title implementation using divs in order to personalize its aspect.
Upvotes: 2