background-color: #f0f0f0; border: solid 1px #000000; position: absolute; left:0px; width: 800px; height: 60px; text-align:left; overflow:scroll;
How to explain the lack of beginning and end
<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>
Haha. . . Thank you everyone~! display:none; This is necessary~!
I solved it in another way~! Just remove
position: absolute;
overflow:scroll;
so that although the pop-up style changes, it still looks good!
CSS code??1display:none;
How can I scroll? ?
Even if you remove it, there will still be scroll bars~
XML/HTML code??123456789101112