shannoga
shannoga

Reputation: 19869

Hide scroll bar even when the cursor hovers the div

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

Upvotes: 0

Views: 235

Answers (1)

JaredMcAteer
JaredMcAteer

Reputation: 22536

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

Upvotes: 3

Related Questions