Right-to-Left Direction for Foreign Languages

Last Updated: 05 Nov 2014Hits: 5051
I have a survey written in Arabic, which goes from right-to-left rather than left-to-right. How do I change the text direction?

You can do this with a little CSS (cascading style sheets) script placed in your Survey Settings > Headers and Footers > HTML Head tag section. What this code does is change the text-direction of the specified styles and align the text to the right.

<style type="text/css">
 .page_error,
 .error_messages,
 .header1,
 .header2,
 .question_body td,
 .question_body,
 .question_text,
 .response_row,
 .footer1 {
 direction: rtl;
 text-align: right;
}
</style>

Alternatively, you could add this shorter snippet that applies the alterations to everything in your survey.

&ltstyle type="text/css">
 body {
 direction: rtl;
 text-align: right;
}
</style>