当前位置: 代码迷 >> HTML/CSS >> overflow:scroll;不起作用,求相助啊
  详细解决方案

overflow:scroll;不起作用,求相助啊

热度:1573   发布时间:2013-01-02 13:08:45.0
overflow:scroll;不起作用,求帮助啊~!

background-color: #f0f0f0;
border: solid 1px #000000; 
position: absolute; 
left:0px; 
width: 800px; 
height: 60px;
text-align:left;
overflow:scroll;


求解释啊~!
------解决方案--------------------

没头没尾的怎么解释
------解决方案--------------------

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>
  相关解决方案