开发者

Best way to add a cross browser hover to a div

开发者 https://www.devze.com 2023-01-30 06:25 出处:网络
How can I add a simple hover to a div that will be compatible with FF, IE7+ and chrome? All I need is a simple text hover, and I am pretty sure that开发者_运维百科 you can set it as a property of an

How can I add a simple hover to a div that will be compatible with FF, IE7+ and chrome?

All I need is a simple text hover, and I am pretty sure that开发者_运维百科 you can set it as a property of an HTML element but I cant seem to find it anywhere.


You're probably looking for the title attribute. This generally renders like a tooltip.

0

精彩评论

暂无评论...
验证码 换一张
取 消