//把头css设置为这个就可以了。
.fixHeaderStyle {
font-size: 9pt;
vertical-align: middle;
text-transform: capitalize;
font-family: "Arial" , "Helvetica" , "sans-serif";
height: 25px;
background-color: #ecf4fe;
text-align: center;
text-decoration: none;
POSITION: relative; --关键
TOP: expression(this.offsetParent.scrollTop); --关键
}
.fixHeaderStyle {
font-size: 9pt;
vertical-align: middle;
text-transform: capitalize;
font-family: "Arial" , "Helvetica" , "sans-serif";
height: 25px;
background-color: #ecf4fe;
text-align: center;
text-decoration: none;
POSITION: relative; --关键
TOP: expression(this.offsetParent.scrollTop); --关键
}