我借用了一些样式来在页面上提供垂直可滚动区域。在表标题行上,某些列名是可单击的,因此具有href标记;但是第一对夫妇不起作用。在最后一栏,有一个。标题行以边距进行播放,其目的部分是为了使文本居中。也许链接以某种方式隐藏了?
Math.round(1.1618);
.fixed-table-container {
width: 1350px;
height: 450px;
margin: 5px auto;
background-color: white;
/* above is decorative or flexible */
position: relative;
/* could be absolute or relative */
padding-top: 40px;
/* height of header */
}
.fixed-table-container-inner {
overflow-x: hidden;
overflow-y: auto;
height: 100%;
}
.header-background {
background-color: #D5ECFF;
height: 40px;
/* height of header */
position: absolute;
top: 0;
right: 0;
left: 0;
}
.th-inner {
position: absolute;
top: 0;
line-height: 40px;
/* height of header */
text-align: left;
padding-left: 5px;
margin-left: -5px;
}
.first .th-inner {
border-left: none;
padding-left: 6px;
}
.second .th-inner {
border-left: none;
padding-left: 6px;
}
/* extra-wrap */
.extrawrap th {
text-align: center;
}
.extra-wrap {
width: 100%;
}
/* for hidden header hack to calculate widths of dynamic content */
.hidden-head {
min-width: 530px;
/* enough width to show all header text, or bad things happen */
}
.hidden-header .th-inner {
position: static;
overflow-y: hidden;
height: 0;
white-space: nowrap;
padding-right: 5px;
}
K列上的链接有效,在A列和B列上的链接无效;表示它们不是“可点击的”。我尝试过移动利润率,但是没有运气。
在表的末尾有两个结束的“ / div”和“ / table”指示,因为此标题行后跟许多数据行。