Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to position vertical scroll bar in html?

I have a div with fixed width and height and overflow:scroll attribute.

I would like the vertical scroll bar appears in the left side of the div instead of right.

Any css or javascript solution? (supporting both ff and ie)

like image 202
rahim asgari Avatar asked Jan 25 '26 06:01

rahim asgari


1 Answers

You can use JScrollPane, a cross-browser jQuery plugin, to create a custom scrollpane with your own scrollbar.

I know you didn't ask for a jQuery solution, but I think it's the obvious choice in this case

like image 137
Soufiane Hassou Avatar answered Jan 26 '26 23:01

Soufiane Hassou