【发布时间】:2012-07-13 04:27:05
【问题描述】:
可能重复:
I need my html table's body to scroll and its head to stay put
我有一个表格,希望标签之间的标题在屏幕上保持不变,而其余部分是可滚动的。我怎样才能做到这一点?我尝试使用 iframe,但没有成功。
【问题讨论】:
-
你试过
position: fixed吗? -
@Inkbug 使用
position:fixed时,单元格对齐不正确。
标签: html