有没有一种方法可以让Chrome浏览器的title =属性工作? [英] is there a way to make title= attribute work on Chrome?

查看:600
本文介绍了有没有一种方法可以让Chrome浏览器的title =属性工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<span title="Hover text">Hello World</span>

在Firefox中,将显示一个带有悬停文本的工具提示,但在Chrome中,您什么也得不到。任何方法来解决这个HTML / CSS或是另一种脚本语言所需?

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 =悬停文本是铬的工作方式。你确定你没有其他的东西(也许是一个没有内容的div)超过span文本吗?

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?

这篇关于有没有一种方法可以让Chrome浏览器的title =属性工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆