Requirement : Enable mouse wheel vertical scroll without displaying the scrollbar and maintain the background.
Using the below solution, am able to achieve the expected by following the solution as mentioned below
<div style='overflow:hidden; width:200px;'>
<div style='overflow:scroll; width:217px'>
My mousewheel scrollable content here....
</div>
</div>
Link : Remove HTML scrollbars but allow mousewheel scrolling
The issue that I currently have is that inside the child div, there is a table with alternate colors and styling and I would like to maintain the background. Currently, using the above solution, the scrollbar area of 17px is empty and looks like someone has rubbed off the scrollbar. Questions are :
(a) how can I maintain the background ?
(b) can I reduce the width of the vertical scrollbar to 1px so that it appears only as a thin line and the users do not even notice the existence of a scrollbar.