javascript - How can i make a scrollbar start on the right and not the left? -


this question has answer here:

i have done css direction: rtl; text displayed right left, isn't want.

is there way make direction: rtl; not modify text , scrollbar or how make scrollbar have same behavior direction: rtl; without displaying text right left?

i can use jquery , open using library if it's necessary.

let's start stating should not this, if can't resist can do:

html

<body> <div class="inner"> content here </div> </body>

css

body { direction: rtl; } .inner { direction: ltr; }

what think should build whatever application you're working on in way browser understands. if want scrollbar direction opposite, build site that. if don't have support legacy browsers, can build such thing flexbox , flex-direction: row-reverse.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -