Is There A Way To Never Ever Have A Scroll Bar On A Div?
I have a div that, depending on circumstances, can overflow. Is there a way so that, no matter how much data is in the div, it will not have a scroll bar? I was hoping that there w
Solution 1:
Yes, you can use overflow: hidden; and it will never show a scroll bar. Note that this might also disable scrolling (even with mouse wheel) in some browsers.
You can specify overflow-x: hidden; for horizontal or overflow-y: hidden; for vertical scrollbars.
Post a Comment for "Is There A Way To Never Ever Have A Scroll Bar On A Div?"