固定,Table,滚动条,滚动样式:
.fixedHead { position: relative; top:expression(this.offsetParent.scrollTop-2); }
使用:
<div> <table class="con_tbl"> <tr class="fixedHead"> <th>标题不动</th> </tr> <PRE class=html name="code"> <tr> <td>内容滚动</td> </tr></PRE></table> </div> <P></P> <PRE></PRE> <P></P>
固定,Table,滚动条,滚动
|