html5 Icon Logo
me@grafxflow

Written by me@grafxflow

14 Sep, 2012

0

1,810

Making HTML text read from right to left

I recently had to create a multilingual website, which was fine apart form the Arabic language. The text had to read from right to left. The answer was to use the direction RTL. Here is it in use.

Code Output

He said "שלם" (shalom) to me.

He said "שלם" (shalom) to me.

Here is the usage in CSS.

p {
    direction:rtl;
}

Add comment

Smart Search

119 Following
50 Followers

me@grafxflow

Hull, United Kingdom

I am a Full-stack Developer who also started delving into the world of UX/UI Design a few years back. I blog and tweet to hopefully share a little bit of knowledge that can help others around the web. Thanks for stopping by!

Follow