table滑轮实例
css代码:
<style type="text/css">
.fqmc,.xl,.kqsj,.xz,.bt{
font-family: 黑体;
color: black;
font-size: 15px;
}
/*数据滑动开始*/
.ph-list {
height: 310px;
overflow-y: auto;
}
::-webkit-scrollbar {
display: none;
}
/*数据滑动结束*/
</style>
<div class="ph-list" style="height: 654px;">
<table class="table11" style="width:348px; height:25px;" id="table11">
<tr class="tr1">
<td width="20%" align="center"><font color="black">排名</font></td>
<td width="30%" align="center"><font color="black">角色名</font></td>
<td width="32%" height="28" align="center">
<font color="black">服务器</font></td>
<td width="13%" align="center"><font color="black">等级</font></td>
</tr>
<!-- -->
<tr></tr>
</table>
</div>
mysql