I’d like to have the text reversed in a div for each line. So, for instance if the given text is:
apple orange banana
potato salad carrot
abcd efgh ijkl
I’d like to get:
ananab egnaro elppa
torrac dalas otatop
lkji hgfe dcba
Reversing the whole text won’t work as it would flip also the top-down order of the text. So, all I want to achieve is to be able to read the text from right to left.
Is there any easy javascript / jquery solution for this?
style="direction: rtl"
is not a solution, I still need to read from left to right.
Thanks.
2
Answers
An easy way to do it: