is there a way to make title= attribute work on Chrome?

zeroality picture zeroality · May 1, 2012 · Viewed 24.9k times · Source
<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?

Answer

gcochard picture gcochard · May 1, 2012

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?