FireFox 4不再支持可滚动的TBody - 解决方法? [英] FireFox 4 no longer supports scrollable TBody - workarounds?

查看:88
本文介绍了FireFox 4不再支持可滚动的TBody - 解决方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正如Firefox 4 changelog 中所述,将不再支持可滚动< tbody> 的。

Well as mentioned in the Firefox 4 changelog, there will be no longer support for scrollable <tbody>'s.

有一堆解决方法 - javascript或2个单独的表 - 的他们解决所有问题。 Javascript显然比较慢(有600行,你可以忘记试着滚动一个表),而且2个表对单元格宽度有问题。

There are a bunch of workarounds - javascript or 2 seperate tables - but none of them solves all problems. Javascript is obviously slower (with 600 rows you can forget to try to scroll a table), and 2 tables are gonna be problematic with cell-width.

你知道有一些很酷的方法来做到这一点?我们使用jsf / facelets,现在必须重做标签,从一个好主意开始是真棒: - )

Do you know if there is some cool way to do this? We are using jsf / facelets and now have to redo the tags, starting with a good idea would be awesome :-)

推荐答案

我知道你试图避免js /单独的表实现,但它是唯一一个我可以找到,工作在多个浏览器。请尝试 http://www.tablefixedheader.com/ 。这是一个jquery解决方案,并在我有限的测试,工作,在IE6 / IE8 / FF3。 (尚未测试FF4)。

I know you're trying to avoid js/separate table implementations, but it was the only one I could find that worked across multiple browsers. Try http://www.tablefixedheader.com/. It's a jquery solution and worked, in my limited testing, across IE6 / IE8 / FF3. (Haven't tested FF4).

这篇关于FireFox 4不再支持可滚动的TBody - 解决方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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