请问怎样设计层div的属性,使层div里面有滚动条呢 |
问: 急!!!各位高手,请问怎样设计层div的属性,使层div里面有滚动条呢? 谢谢 ______________________________________________________________________________________________ 答1: <div style="width:300px;height:200px;overflow:auto;"><img width=200 height=600></div> ______________________________________________________________________________________________ 答2: 把overflow: scroll;加入到style=""里面 ______________________________________________________________________________________________ 答3: 层内内容大于层的宽或高时才会出现滚动条 ______________________________________________________________________________________________ 答4: http://expert.csdn.net/expert/Topicview2.asp?id=2793024 (编辑:网站学习网)
|
|
|
|