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?
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?
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;
}
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:)