I have a webpage with content that goes through the right edge of the browser window. I set overflow-x: hidden to <body> to disable the lower scrollbar, but I can still scroll horizontally using the trackpad, which I don't want.
Is there a way to prevent the browser from scrolling horizontally?
As a side note: Safari 4.0.4 sometimes scrolls horizontally, while scrolling seems to be sticky and nervous, while Firefox always scrolls horizontally smoothly.
javascript css hidden overflow
Andrew LeClair
source share