Skip to content Skip to sidebar Skip to footer

Css- Right To Left Text Content

So I've marked up a responsive page that the client not wants to be in Arabic. When provided with the copy changes I merely copied and pasted the translated text content into the m

Solution 1:

Use this CSS property:

html {
    direction: rtl;
}

Or inline CSS like this:

<html class="no-js" style="direction:rtl">
<h3>عروض الكهرباء أصبحت أكثر تنافسية 
</h3><p>
                    لقد تغيرت الكهرباء في نيو ساوث ويلز. فرفع القيود الرقابية عن الكهرباء يعني خطط أكثر تنافسية للكهرباء، والمزيد من الخيارات، وانخفاض أسعار الكهرباء في نيو ساوث ويلز؛ الأمر الذي يعود بالنفع على المنازل والشركات الصغيرة.
                </p>

Solution 2:

simple apply text-align: right; to p tag OR you can apply direction: rtl; also.

Post a Comment for "Css- Right To Left Text Content"