开发者

Hide scroll bar even when the cursor hovers the div

开发者 https://www.devze.com 2023-04-11 03:27 出处:网络
I have a div with a text scrolled up and down with 2 simple buttons & JS. I wish to totally 开发者_开发百科disable the scroll bars so they will never appear on the screen, even if the crosser is a

I have a div with a text scrolled up and down with 2 simple buttons & JS. I wish to totally 开发者_开发百科disable the scroll bars so they will never appear on the screen, even if the crosser is above them.

How do i approach this problem?

Thank Shani


Add overflow: hidden to the css rule for that div.

0

精彩评论

暂无评论...
验证码 换一张
取 消