如果文本很长,Firefox 35.0切断标题提示

时间:2022-11-04 17:23:02

Title pretty much says it all.

标题几乎说明了一切。

If I have a title attribute with a long text in it (while the HTML element is truncated) the tooltip gets cut off. This happens only in Firefox (only tested version 35.0) from what I see.

如果我有一个标题属性,其中有一个很长的文本(HTML元素被截断),工具提示就会被切断。

Fiddle here: http://jsfiddle.net/7m58grkg/1/

小提琴在这里:http://jsfiddle.net/7m58grkg/1/

Also a screenshot of the fiddle in firefox: http://i.imgur.com/mEyzssg.png

也可以在火狐浏览器上截图:http://i.imgur.com/mEyzssg.png。

1 个解决方案

#1


3  

I'm not sure if you can fix that in your (html/css) code. It's a known bug in Firefox. There is an Addon (Long Titles by Xavier Robin) that might fix that problem, but sadly only in the clients browser, which probably wont help you that much.

我不确定你是否能在你的(html/css)代码中修复它。这是Firefox中一个已知的错误。有一个Addon (Xavier Robin的长篇标题)可能会解决这个问题,但遗憾的是只有在客户端浏览器中,它可能不会对您有多大帮助。

#1


3  

I'm not sure if you can fix that in your (html/css) code. It's a known bug in Firefox. There is an Addon (Long Titles by Xavier Robin) that might fix that problem, but sadly only in the clients browser, which probably wont help you that much.

我不确定你是否能在你的(html/css)代码中修复它。这是Firefox中一个已知的错误。有一个Addon (Xavier Robin的长篇标题)可能会解决这个问题,但遗憾的是只有在客户端浏览器中,它可能不会对您有多大帮助。