I’ve applied this property to the elements: body and html and still Chrome will let me scroll on the x-axis.
I’ve tested it in Safari and Firefox and the x-axis scrolling is disabled…
Anyone know what I’m missing?
N.B. Using overflow: hidden works but I’d like people to be able to scroll on the y-axis.
Thanks!
It appears the problem no longer exists thanks to
@Nelsonpointing this out.You can see the code working correctly here: http://jsfiddle.net/H84pr