Hi,
Is there a way to style tooltips that appear by using title attribute? So far I have been able to find out that its div but cant find out if its associated with any class. And on other site answer I got was No and work around it using jQuery or something.

Recommended Answers

Oh, misunderstood. That is not possible with just CSS, as you were told.

Jump to Post

All 3 Replies

I came across this, but I haven't used/tested this before:

[title]
{
    color: #ff0;
}
[title=something]
{
    color: #0ff;
}

I came across this, but I haven't used/tested this before:

It styles element instead of tooltip.

I got this jQueryui Tooltip and its doing what I wanted to but still it would have been better to style it directly using css only.

Oh, misunderstood. That is not possible with just CSS, as you were told.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.