Setting overflow:auto, yet not horizontal scrollbar is displayed
- by ikaushan
Hi,
Why doesn't div with id "shouldHaveScrollBar" doesn't display a horizontal scrollbar:
<div style="overflow:hidden;
width: 300px; height: 300px; background-color:blue; color:white">
<div>Some stuff</div>
<div>Some other stuff"</div>
<div id="shouldHaveScrollBar"
style="background-color:grey;
width: 100%; height: 100%; overflow-x:auto">
<input type="text" size=200">
</div>
</div>
Thank you,