我创建了具有固定标题和可滚动内容的表格。并将 css 作为 thead 的 fixedHeader 和 tbody 的 scrollContent:
thead.fixedHeader tr {
position: relative;
}
html > body thead.fixedHeader tr {
display: block;
}
html > body tbody.scrollContent {
display: block;
overflow: auto;
}
这适用于除 IE 之外的 mozilla firefox、Chrome 和 safari。这个问题如何在 IE 中解决。
问候, 吉里什