DragonByte Tech
Well-known member
I'm trying to create two separate pieces of CSS to be applied if RTL is enabled or not.
RTL:
Western:
The way I laid out the CSS just now:
I was hoping that if the user is using a RTL language, everything between
I generated a test language that's a child of English (US) with RTL enabled, but in both cases I'm seeing the
What am I doing wrong?
Fillip
RTL:
CSS:
background-position: right center;
padding-right: 18px;
padding-left: 0;
Western:
CSS:
background-position: left center;
padding-right: 0;
padding-left: 18px;
The way I laid out the CSS just now:
CSS:
background-position: right center;
padding-right: 18px;
padding-left: 0;
/* XF-RTL:disable */
background-position: left center;
padding-right: 0;
padding-left: 18px;
/* XF-RTL:enable */
I was hoping that if the user is using a RTL language, everything between
/* XF-RTL:disable */
and /* XF-RTL:enable */
would be skipped.I generated a test language that's a child of English (US) with RTL enabled, but in both cases I'm seeing the
background-position: left center;
block being used.What am I doing wrong?
Fillip