Is there a way to hide the scrollbar in Mozilla Firefox without preventing scrolling within a specified div?
I have tried using the following CSS, however, I do not want to include "overflow-x: hidden" in the div that already has a scrollbar. Additionally, I cannot use jQuery plugins for Scrollbars due to conflicts with a 3-level nested menu.
margin-right: -16px;
overflow-y: scroll;
overflow-x: hidden;
Another CSS solution I attempted does not seem to work in Firefox:
::-webkit-scrollbar {
width: 0px; /* remove scrollbar space */
background: transparent; /* optional: just make scrollbar invisible */
}
If you have any suggestions related to CSS/jQuery to address this issue, please share them with me.