如果文本较长,Firefox 35.0会切断标题工具提示 [英] Firefox 35.0 cutting off the title tooltip if text is long

查看:80
本文介绍了如果文本较长,Firefox 35.0会切断标题工具提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

标题几乎说明了一切.

如果我有一个title属性,其中带有长文本(当HTML元素被截断时),则工具提示将被切断.从我所看到的情况来看,这仅在Firefox(仅经过测试的版本35.0)中发生.

在这里拨弄: http://jsfiddle.net/7m58grkg/1/

还有Firefox中小提琴的屏幕截图: http://i.imgur.com/mEyzssg.png

解决方案

我不确定您是否可以在(html/css)代码中对其进行修复.这是Firefox中的已知错误.有一个 Addon(Xavier Robin的长标题)也许可以解决该问题,但可悲的是只能在客户端浏览器中使用,这可能对您没有太大帮助.

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.

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

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

解决方案

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.

这篇关于如果文本较长,Firefox 35.0会切断标题工具提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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