地方有限,显示数据不全,怎么办呢????
能不能像页面一样增加下拉滚动条呢,
好想法,好主意,怎么实现呢?。。。。看下图
先看效果,有滚动条
是不是你想要的效果讷~~!
代码如下,
看懂了吗,,没看懂,往下看
↓
↓
↓
<div style="height: 400px;width:200px;overflow:auto">
<div style="height: 100px;width: 100%; background-color: red">
我是红色
</div>
<div style="height: 100px;width: 100%;background-color: green">
我是绿色
</div>
<div style="height: 100px;width: 100%;background-color: yellow">
我是黄色
</div>
<div style="height: 100px;width: 100%;background-color: orange">
我是橘色
</div>
<div style="height: 100px;width: 100%;background-color: blue">
我是蓝色
</div>
</div>