I have the same problem. but when i add direction: rtl; in a combination of tabs and accordion, but it destroys my structure.
The way to do this: add a div with direction: rtl; as the parent, and for the child div, direction: ltr; .
I use this first https://api.jquery.com/wrap/
$( ".your selector of child element" ).wrap( "<div class='scroll'></div>" );
then just just work with css :)
In children div add to css
.your_class { direction: ltr; }
And for the parent div added by jQuery with the .scroll class
.scroll { unicode-bidi:bidi-override; direction: rtl; overflow: scroll; overflow-x: hidden!important; }
Prefect works for me
http://jsfiddle.net/jw3jsz08/1/
user1597594 Feb 28 '14 at 15:01 2014-02-28 15:01
source share