html表中的纵向和横向自动滚动 [英] vertical and horizontal auto scroll in html table

查看:841
本文介绍了html表中的纵向和横向自动滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在html表中进行纵向和横向自动滚动。



问候,

Bala

解决方案

将这部分代码添加到特定对象的样式表中

{

溢出:滚动;

}



然后调整你的宽度和高度。


设置

 style =溢出:在你的桌子上自动





那样的,



 <   table    样式  = 溢出:自动 >  
< tr >



< / tr >


I have need vertical and horizontal auto scroll in html table.

Regards,
Bala

解决方案

add this part of code to your Style-sheet of particular object
{
overflow:scroll;
}

then after adjust your width & height.


Set

style="overflow:auto"

in your table

like that,

<table style="overflow:auto">
   <tr>
   .
   .
   .
   </tr>


这篇关于html表中的纵向和横向自动滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆