Welcome Guest, Not a member yet? Register   Sign In
RTL and LTR languages on the same page
#1

[eluser]no-cost lab[/eluser]
Hi Guys,

I'm working on a site that requires Left to Right language and Right to Left language on the same page.
I tried searching the forum and the user guide, but got nothing...

do you know if this can done with PHP / CI?
do you have any idea where i can read a wiki / thread about it?

Thanks!

Ariel
#2

[eluser]tomcode[/eluser]
This has nothing to do with CI / PHP

You specify the direction in the HTML tag:

Code:
<p dir="ltr">left to right</p>
<p dir="rtl">right to left</p>

I recommend to also specify the language:
Code:
<p lang="en">english</p>
<p lang="fr">français</p>

See on w3schools.com

There are also direction related CSS pseudo class, see on w3schools.com
#3

[eluser]no-cost lab[/eluser]
vielen dank!




Theme © iAndrew 2016 - Forum software by © MyBB