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>
复制代码

 

posted @   东华上仙  阅读(57)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· 从HTTP原因短语缺失研究HTTP/2和HTTP/3的设计差异
· 三行代码完成国际化适配,妙~啊~
点击右上角即可分享
微信分享提示