There is a cross-browser problem, especially now when safari uses the internal scroll mechanism that floats on top.
When a div with fixed height content ends, becoming larger than the div, we need a scroll bar, but the scroll bar takes some width, and thus a horizontal bar is added. How to prevent horizontal scrolling, even if the content is wide, I donβt want the user to be able to scroll horizontally.
The CSS3 overflow-x: property is hidden, still allowing the user to scroll left and right using the trackpad. I want it to be completely disabled, or a solution that fixes the problem of vertical scrollbar taking width from div.
Any ideas?
Wonderful
source share