CodeTwo Base.title

How to create a footer with text written from right-to-left as in Hebrew or Arabic

Problem:

While typing in right-to-left language, the text is improperly aligned.

Solution:

If you need to use Hebrew, Arabic or any other type of right-to-left language, you will have to use special HTML attribute to align the text properly. 

Start editing your signature using the built-in Editor. On the HTML tab, click the source code view button.

DirLtr1
Fig. 1. CodeTwo Exchange Rules signature editor.

Locate all containers (like paragraphs - <P> tags) and modify them by adding dir=rtl attribute. An exemplary paragraph tag should look like in the picture below:

DirLtr2
Fig. 2. Right-to-left HTML attribute used on a paragraph tag.

If you have a signature with both right-to-left and left-to-right languages, use the dir=ltr attribute for left to right parts.

Please do not use the dir attribute globally (e.g. as whole body attribute), if you want to use right-to-left and right-to-left alignment as well in one message. This can cause serious problems with rendering such message in e-mail clients. Please note also that the dir is an attribute of HTML, so it cannot be used as independent tag like paragraph or link. 

Our Clients:
Unicef
Facebook
Shell
T-Systems
Loreal
Casio
UPS Israel
Oford University
Mitsubishi Motors
Toshiba TEC UK Imaging Systems Ltd
Illinois Institute of Technology
MAN Diesel
McDonalds India
Skoda Auto
Bank of Israel
Fujifilm
China Mobile
Santander
Samsung SDI
Skanska
Generali
Telmex
Toyota Tsusho
BECHTEL
Ricoh
BAE SYSTEMS
Federação Portuguesa de Futebol
Credit Agricole
HYUNDAI
Rothschild
Toyota Boshoku
Oriflame Romania
ING
Ikea
Nordea

Partners, certificates & awards