保持表头(标记)不变

时间:2012-07-13 10:13:38

标签: html

  

可能重复:
  I need my html table's body to scroll and its head to stay put

我有一张桌子,希望标签之间的标题在屏幕上保持不变,而休息是可滚动的。我怎么能做到这一点?我试图使用iframe,没有运气。

1 个答案:

答案 0 :(得分:0)

您可以尝试以下提到的链接

http://encolpe.wordpress.com/2008/05/01/how-to-add-a-fixed-table-header-with-a-vertical-scrollbar-in-content/

这将为您提供在表

中创建修复标头的想法