Rumah >hujung hadapan web >html tutorial >overflow:scroll;不起作用,求帮助啊~!_html/css_WEB-ITnose
background-color: #f0f0f0; border: solid 1px #000000; position: absolute; left:0px; width: 800px; height: 60px; text-align:left; overflow:scroll;
没头没尾的怎么解释
<div id="div_kxxb_aspl_drugs" style="background-color: #f0f0f0; border: solid 1px #000000; position: absolute; display:none; left:0px; width: 800px; height: 60px;text-align:left;overflow:scroll;"> </div>
display:none;
<div id="div_kxxb_aspl_drugs" style="background-color: #f0f0f0; border: solid 1px #000000; position: absolute; display:none; left:0px; width: 800px; height: 60px;text-align:left;overflow:scroll;"> <p>111111111111111111111111111111111</p> <p>111111111111111111111111111111111</p> <p>111111111111111111111111111111111</p> <p>111111111111111111111111111111111</p> <p>111111111111111111111111111111111</p> <p>111111111111111111111111111111111</p> <p>111111111111111111111111111111111</p> <p>111111111111111111111111111111111</p> <p>111111111111111111111111111111111</p></div>
呵呵。。。谢谢大家~!display:none; 这个是必须要的~!
我用另外一种方式解决了~!就是将
position: absolute;
overflow:scroll;
去掉,这样虽然弹出样式变了,但是也很好看!
CSS code??1display:none;
这还怎么滚动??
去掉了是有滚动条的呀~
XML/HTML code??123456789101112