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 tags.

Start editing your footer using CodeTwo Exchange Rules built-in editor. Once you have finished designing your footers, go to the HTML button and select Source Code option from the drop down menu (fig. 1).

109-1.1
Fig.1. CodeTwo Exchange Rules footer editor

Locate all your paragraphs, usually they start with <p>, and modify all these tags by adding DIR=RTL. Your new paragraph tag should look like in the picture below (fig. 2)

190-2
Fig.2. Right-to-left tag

If your footer contains a table, you will have to use this tag for each of the cells.
If you have a footer with both right-to-left and left-to-right languages, use the abovementioned tag for the first type and the opposite one (DIR=LTR) for the second.

Please do not use DIR attribute globally (e.g. as whole body attribute), if you want to use right-to-left and right-to-left aligment 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
Shell
Santander
T-Systems
UPS Israel
MAN Diesel
Loreal
Toshiba TEC UK Imaging Systems Ltd
Casio
Tottenham Hotspur
China Mobile
GTECH
Fujifilm
Nordea
Skanska
Hooters Cassino Hotel
Illinois Institute of Technology
ING
McDonalds India
Oriflame Romania
Bank of Israel
London Symphony Orchestra
Aeropostale
Bank of Jordan
SouthWire Inc.
Taser
Rothschild
Mitsubishi Motors
DNA Films
Samsung SDI
Skoda Auto

Partners, certificates & awards