Change the width of area, in which the browser shows the title, is it possible?
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
No, the title
is browser specific implementation. You will need to roll your own title implementation using divs in order to personalize its aspect.
No, this is not possible.
No you can't, but still you got a lot of jQuery add on to do that. For example, i use tipsy
The only thing you may do is to add padding with white-space characters, such as
<a title=" some text here ">
example
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..
Instead of relying on static title
tooltip, you can implement your own tooltips.
Take a look at: 15 jQuery Plugins to Create Tooltips
精彩评论