<span title="Hover text">Hello World</span>
In Firefox, that will display a tooltip with "Hover text" but in Chrome, you get nothing. Any way to fix this with HTML/CSS or is another scripting language required?
<span title="Hover text">Hello World</span>
In Firefox, that will display a tooltip with "Hover text" but in Chrome, you get nothing. Any way to fix this with HTML/CSS or is another scripting language required?
title="hover text"
is the way chrome works. Are you sure you don't have something else (maybe a div with no content) overtop of the span text?Though this is a really old post i've seen no answer. I've had the same sort problem and for me the problem was that the element was behind another. I've moved it up using z-index and that solved it.
I also had an issue with "title" tooltip defined on a div not showing. In my case it wasn't a browser-specific thing, but I thought I'll post it here anyway...
I solved it by defining a higher z-index.
works for me
If you come here from Google looking for an answer about glitches in the title attribute using Chromium under linux. Then you can be interested in this bug report which is apparently fixed in latest versions
It works for me with only title.
You should use both
alt="Hover text"
andtitle="Hover text"