Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Any of y’all CSS wizards know why a custom scrollbar style would show even witho

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #297915
    MathewFernandes
    Participant

    I’m pretty sure the reason is that I’ve set custom styles for it, because I’m using box-sizing: border-box and I made sure the element was not oversized/overflowing. Every element I set overflow: scroll for has the scrollbar show regardless of its size and it’s driving me nuts.

    Can anyone tell me for sure why this would be happening, and if you’ve ever found a solution for it?

    #297916
    Beverleyh
    Participant

    Every element I set overflow: scroll for has the scrollbar show

    Yes, this is the intended outcome/behaviour of overflow: scroll;

    Maybe try overflow: auto; so that it only shows when more room is needed to accommodate the content within.

    Can’t really comment on anything else without seeing a reduced demo (the process of paring back can oftentimes help you identify the issue yourself).

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.