搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

FF not displaying tooltips with title attribute for abbr tag.

  • 4 个回答
  • 15 人有此问题
  • 4 次查看
  • 最后回复者为 cor-el

more options

My web page has a few "abbr" tags with "title" attribute. Based on all I could find, the value of title should show up in a tooltip, but it does not. I understand "alt" is obsolete, and I am not using it. Thanks in advance for any pointers.

- DKS

My web page has a few "abbr" tags with "title" attribute. Based on all I could find, the value of title should show up in a tooltip, but it does not. I understand "alt" is obsolete, and I am not using it. Thanks in advance for any pointers. - DKS

所有回复 (4)

more options

Alt is not obsolete, but is meant to be use for images if they can not be displayed. The title attribute is meant for tooltips.


Works fine here with Firefox 4.

data:text/html;charset=utf-8,<abbr title="test for ABBR">Test for ABBR</abbr>

Can you post a link?
If it doesn't work then it is possible that other elements are covering that part of the page.


Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).

  • Don't make any changes on the Safe mode start window.

See:

more options

You are right about "alt".

I tried safe mode; same problem.

My test page has only one element ("abbr").

To see, please try the following page:

  http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_abbr_test .

It gives me same problem. Just to note, the title of "a" tag is displayed correctly at the bottom of the screen. However in IE8, both work fine.

I am using a fresh install of FF4 with all default settings.

Thanks for your help.

由dhirajsharma于修改

more options

I traced the problem to a setting deep down in Mozilla. Here is the crux of it:

Type about:config in the address bar and scroll down the list of preferences until you find one called browser.chrome.toolbar_tips. Once you find it, double-click on it and the value will change from true to false or vice-versa. Mine was set to false for some reason. These settings are inherited by the upgrades. To revert them all back to defaults, the browse should be uninstalled and then re-installed.

more options

The pref browser.chrome.toolbar_tips is the main pref for enabling or disabling all tooltips, in the browser interface (toolbars) and on web pages. If necessary then you can reset all prefs by deleting prefs.js and a possible user.js in the Firefox Profile Folder

Help > Troubleshooting Information > Profile Directory: Open Containing Folder


由cor-el于修改