0

there is any possibility use css in order to style title="title description" on IE8? without use jQuery? something like:

html

<a href="#" title="tooltip description">this must be a toltip</a>

css

 a[title]:hover{
        background: lime;
        border:1px solid #eaeaea;
        opacity: .6; 
        position: absolute;
        }
RulerNature
  • 693
  • 4
  • 13
  • 40

1 Answers1

2

No, the title popup is managed by the browser. Its content isn't even interpreted as HTML and you can't style it.

If you want a styled popup, you have to generate it yourself using some javascript. In this related question I show how you can do it simply (here with jQuery but you can adapt to vanilla js).

Demonstration

Community
  • 1
  • 1
Denys Séguret
  • 372,613
  • 87
  • 782
  • 758