HTML & CSS is it possible to disable the right scrollbar of an html page?

1

My html page has many objects, but I want to leave all of them so that the scrollbar does not have to appear, is it possible to disable scrollbar?

    
asked by anonymous 30.06.2016 / 00:16

1 answer

2

You can use overflow: hidden to hide the scroll bar (s).

Considering that you only have to change what is necessary in this case you can only use overflow-y (vertical axis only) to be more specific. Applying this to the document would be

html {
    overflow-y: hidden;
}

Example: link

If you want to use brute force (and in rare cases it is necessary) you can use this applied to all elements like @ William Novak mentioned .

But to avoid, except rare cases once per programmer life:)

    
30.06.2016 / 00:39