样式:
.fixedHead {
position: relative;
top:expression(this.offsetParent.scrollTop-2);
}
使用:
<div> <table class="con_tbl"> <tr class="fixedHead"> <th>标题不动</th> </tr>
</table><tr> <td>内容滚动</td> </tr>
</div>
样式:
.fixedHead {
position: relative;
top:expression(this.offsetParent.scrollTop-2);
}
使用:
<div> <table class="con_tbl"> <tr class="fixedHead"> <th>标题不动</th> </tr>
</table><tr> <td>内容滚动</td> </tr>
</div>