http://hi.baidu.com/luckystreet/item/c4a6f10c417db2f1a11034ec
来源:互联网 发布:输入网络密码来连接到 编辑:程序博客网 时间:2024/04/30 14:46
HTML如何给table添加滚动条
要给table添加滚动条其实很简单,主要是给table放到一个div里去,然后再设置div显示滚动条即可。示例代码如下所示:
<!--div比table大小要小才会显示-->
<div style="overflow-x: auto; overflow-y: auto; height: 100px; width:200px;">
<table id="table" border="1" align="center" width="300px" height="200px">
<tbody>
<tr><td>00</td><td>01</td><td>02</td><td>03</td><td>04</td><td>05</td></tr>
<tr><td>10</td><td>11</td><td>12</td><td>13</td><td>15</td><td>15</td></tr>
<tr><td>20</td><td>21</td><td>22</td><td>23</td><td>24</td><td>25</td></tr>
<tr><td>30</td><td>31</td><td>32</td><td>33</td><td>34</td><td>35</td></tr>
</tbody>
</table>
</body>
</div>
- http://hi.baidu.com/luckystreet/item/c4a6f10c417db2f1a11034ec
- http://hi.baidu.com/yingshuishui1/item/c6a1610ad1b4851bebfe3870
- http://hi.baidu.com/3582077/item/e1ae928ba93b8c55e63d190a
- http://hi.baidu.com/heyg/blog/item/9ca8dcc4785706cb38db4937.html
- http://hi.baidu.com/suwey/blog/item/9b4d72c238e7e334e5dd3bc0.html
- http://hi.baidu.com/lhcling/blog/item/0e3e60cfa55aca3ef8dc61c0.html
- http://hi.baidu.com/jmugis/blog/item/ad03b11f89a25ef6e1fe0b18.html
- http://hi.baidu.com/nnffnn/blog/item/e84cd15c1d893943faf2c07c.html
- http://hi.baidu.com/herowzz/blog/item/286e3c546eb23157574e0077.html
- http://hi.baidu.com/kacaca/blog/item/1fd412d644f9f42907088b89.html
- http://hi.baidu.com/sophie198384/blog/item/26960501e9a757021d9583a0.html
- http://hi.baidu.com/123az/blog/item/f482f51980e8e04642a9ad6c.html
- http://hi.baidu.com/zonesky/blog/item/328d9807043c2ccb7a894717.html
- http://hi.baidu.com/shasha1918/blog/item/ee5fdf18f049fc0235fa4187.html
- http://hi.baidu.com/620734263/blog/item/513a102fa4a551424ec226f8.html
- http://hi.baidu.com/jisu3d/blog/item/f7ad4fd0ac727526960a1652.html HLSL
- http://hi.baidu.com/jsjlx2004/blog/item/74409ccbd5741619be09e6a1.html
- http://hi.baidu.com/edeed/blog/item/3e92277f7a15830028388aec.html
- UVA10562- Undraw the Trees
- 并查集--学习详解
- nyoj 掷骰子
- hdoj 1003 Max Sum
- adapter的使用1
- http://hi.baidu.com/luckystreet/item/c4a6f10c417db2f1a11034ec
- xcode的环境变量,Build Settings参数,workspace及联编设置
- cocos2d_粒子效果
- adapter的使用2
- 站长被遗忘还是不思进取?
- PL/SQL客户端连接虚拟机(linux)下的oracle服务器配置
- [版本构造]给delphi生成的软件增加版本信息
- C#核心概念--装箱和拆箱(什么是装箱和拆箱)
- uva 11198