Answers for "DISABLE the Horizontal Scroll"

4

DISABLE the Horizontal Scroll

html, body {
    max-width: 100%;
    overflow-x: hidden;
}
Posted by: Guest on November-24-2019
1

how to stop a page from scrolling horizontally

overflow-x: hidden
Posted by: Guest on April-18-2020
0

css how to prevent horizontal scrolling

body {
    overflow-x: hidden !important;
}
.container {
    max-width: 100% !important;
    overflow-x: hidden !important;
}
Posted by: Guest on February-18-2021

Code answers related to "DISABLE the Horizontal Scroll"

Browse Popular Code Answers by Language