Blog

14 Sep
2012

html5 Icon Logo

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;
}
Tagged: < arabic | css | css3 | dir | hebrew | html | ltr | right to left | rtl >
Posted in: < PHP and HTML and CSS >
me@grafxflow avatar

me@grafxflow


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!

Visitors also viewed these posts


Add comment

Add comment