问题描述
这是他们自定义工具提示气泡的方式,跨浏览器吗?
Is their a way to customize the way the tool tip bubbles look like, cross browser?
例如,当我将鼠标悬停在具有 title
属性,Firefox显示工具提示气泡。我想自定义,看起来像网站的其余部分。
For example, when I hover over a tag that has a title
attribute, Firefox displays a tool tip bubble. I'd like to customize that to look just like the rest of the site.
有没有CSS3黑客入侵?如果不是,我可以替换为将自动对所有具有title属性的元素工作吗?
Is there a CSS3 hack into that? And if not, can I replace it with something that will work automatically on all the elements with a title attribute?
<a href="" title="This is a nice link, click here"/> <div onclick="" title="A nice action button"/>
图片示例:
我在工作真的很难得到我的网站好看,准备服务。我注意到的一个事情是工具提示打破了我的风格,只是一点点...但我坚持这些种类的东西。是的,我仍在处理 - 。巨大的工作正在进行中。将鼠标悬停在某个活动示例的任何导航按钮上。
I'm working real hard on getting my site good looking and ready for service. One of things I noticed was the tooltip breaks my style, just a little... but I'm nuts about those kinds of stuff. Yes I'm still working on it - http://pagelook.us. Huge work in process. Hover over any of the navigation buttons for an active example.
推荐答案
我只想指出,通常是内置到操作系统中的浏览器,浏览器不提供CSS接口来覆盖操作系统默认值。
I just wanted to point out that the tooltip displayed for titles is usually the one built into the operating system, and the browser doesn't provide a CSS interface to override the operating system defaults.
通常,浏览器甚至不修改这种外观和感觉本身的行为。
Often, the browser doesn't even modify the behaviour of that look and feel for itself.
这篇关于我可以自定义浏览器工具提示气泡吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!