Simon
Simon

Reputation: 23151

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

Upvotes: 0

Views: 49

Answers (5)

mohdajami
mohdajami

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

Alexander Sagen
Alexander Sagen

Reputation: 4038

The only thing you may do is to add padding with white-space characters, such as

<a title="&nbsp;&nbsp;&nbsp;&nbsp;some text here&nbsp;&nbsp;&nbsp;&nbsp;">

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..

Upvotes: 0

Shikiryu
Shikiryu

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

Thariama
Thariama

Reputation: 50832

No, this is not possible.

Upvotes: 0

Darin Dimitrov
Darin Dimitrov

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

Related Questions