I know you can define overflow:hidden; on the body of the HTML to remove the scrollbar, but I would like to still be able to scroll with the arrows or scroll wheel on a mouse.
Thanks in advance for any help.
Edit:
Thanks for all the advice about on hover scrollbars and custom bars. Also thank you for all concerns about impacting users experience by removing the scrollbars. I shall elaborate a little more so you explain where I am coming from.
I have a circular page (if you scroll with a scroll wheel or arrow button, when it reaches the bottom it resets to the top of the page and starts again). A never ending loop. A scrollbar impacts on this as a bar is limited and when it reaches the bottom and resets to the top the users mouse is still at the bottom of the page meaning when they move it there is some flickering between the top and bottom of the page.
I plan to remove the scroll bar and replace it with arrow buttons at the top and the bottom of the window. This is why I would like to remove the scrollbar completely but leave the scrolling functionality.
There is a library for jQuery named jscrollpane http://jscrollpane.kelvinluck.com/#examples that can modify very much.
But if you only want to hide the bar, you can also push this scrollbar out of view: http://jsfiddle.net/H27BK/
with CSS
This all based up on a bar-width of 18 pixel.
So we can do some javascript scrollbar width detection script or simply add another div that we put in front of the scrollable div.
http://jsfiddle.net/uNzEz/
HTML is now:
with CSS like: