Creating rtl themes
Posted by kramazeek on December 25, 2010 at 4:27am
Hello everyone,
I am currently working on a base theme and am looking into adding rtl support. Has anyone else had major issues with ie6,ie7, and ie8 while using something like:
body { direction: rtl; }
Applying the direction attribute to the html or body tag seems to cause a lot of issues in earlier versions of ie. I ended up using doing this:
/* apply rtl to the html tag so the scrollbar is on the correct side /
html {
direction: rtl;
}
/ set the language direction back to left to right to avoid breaking the layout in ie. */
body {
direction: ltr;
}