How to format title attribute using css (setting a larger width)?

I wrote the following html code:

<img src="myImages/defaultImages/myPic.jpg" title="myFirstValue: 'DescriptionOfMyFirstValue', &#10;mySecondValue: 'DescriptionOfMySecondValue', &#10;myThirdValue: 'DescriptionOfMyThirdValue'" /> 

This creates a nice tooltip with some line breaks, but my area where the tooltip is visible is too small. How can I create a much larger area for my help?

Thanks!

-3
source share
1 answer

It is not possible to format a tooltip at this time. An alternative solution is to use one of the many open source projects that let you customize HTML-based tooltips and then modify their contents.

These are some common solutions.

+2
source

Source: https://habr.com/ru/post/948719/


All Articles