Home > Article > Web Front-end > How to Completely Disable Horizontal Scrolling on Your Website?
How to Completely Disable Horizontal Scrolling
To physically disable the horizontal scroll feature on your webpage, follow these steps:
CSS Rule in HTML Tag:
Complete CSS Code:
<code class="css">html, body { max-width: 100%; overflow-x: hidden; }</code>
Implementation: