Posted By

acosonic on 03/31/14


Tagged

scroll horizontal


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Beppoi


Prevent HTML page from horizontal scrolling


 / Published in: CSS
 

URL: http://stackoverflow.com/questions/17756649/disable-the-horizontal-scroll

html, body { max-width: 100%; overflow-x: hidden; }

  1. html, body {
  2. max-width: 100%;
  3. overflow-x: hidden;
  4. }

Report this snippet  

You need to login to post a comment.