How to place vertical scrollbar in html?

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

I would like the vertical scrollbar to appear on the left side of the div instead of the right.

Any css or javascript solution? (supporting both ff etc.)

+3
source share
3 answers

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

I know that you did not request a jQuery solution, but I think this is the obvious choice in this case

+5
source

div div div div rtl, :

<div style="direction: rtl; overflow: scroll">
     <div style="direction: ltr">
         Long content
     </div>
</div>

, , FireFox ( Opera IE). , , - - , .

+2

HTML/CSS. , javascripting.

, ? . , , , .

+2

Source: https://habr.com/ru/post/1774241/


All Articles