固定Table第一行或某几行不随滚动条滚动而滚动
摘要:样式:.fixedHead{position:relative;top:expression(this.offsetParent.scrol...
样式:
.fixedHead {
position: relative;
top:expression(this.offsetParent.scrollTop-2);
}
使用:
<div>
<table>
<tr>
<th>标题不动</th>
</tr>
<PRE class=html name="code"> <tr>
<td>内容滚动</td>
</tr></PRE></table>
</div>
<P></P>
<PRE></PRE>
<P></P>
【固定Table第一行或某几行不随滚动条滚动而滚动】相关文章:
★ CSS编写小技巧
★ list-style-image无法准确定位通过(li的背景模拟或相对定位)解决