html diabled x scroll code example Example: how to keep page from scrolling sideways html, body { max-width: 100%; overflow-x: hidden; }