Is it feasible to shift a scrollbar of a div
to the left side using simply direction:rtl
? Why doesn't this same method work for the entire page?
I attempted applying the same CSS rule to both html
and body
, but it had no effect as the main scrollbar remained on the right-hand side.
(I'm aware of some alternative solutions like creating a fixed div
with height and width = 100%
and direction:rtl
to act as a scrolling element instead of the main page, but is there a more direct way to address this issue?)