Html - Overflow: hidden still takes up space

I have a problem with a scrollable div. There, the div acts as a scrollable container (using the jquery plugin). The container has overflow: hidden style. It works as expected, but I noticed that the browser has a scroll too, which I want to prevent.

I know that I can completely disable html body scrolling, but I want to avoid this, as it means resizing manipulation, which is not really an elegant fix.

I know that hidden overflow, unlike "display: none", still occupies a space. what I'm looking for is an easy way to hide my overflow. enter image description here Thanks.

+4
source share

All Articles