wadboram Posted September 24, 2011 Share Posted September 24, 2011 Hi, When I post Arabic articles to my new blog, the alignment of text is like English so how can I align the text to be from right to left. as shown below: http://www.blog.aiwwan.com/ Link to comment https://forums.phpfreaks.com/topic/247762-align-text-to-right-arabic-writing/ Share on other sites More sharing options...
codefossa Posted September 24, 2011 Share Posted September 24, 2011 It appears the writing is correctly written (backwards) as compared to English, so I would just use CSS text-align: right; Link to comment https://forums.phpfreaks.com/topic/247762-align-text-to-right-arabic-writing/#findComment-1272292 Share on other sites More sharing options...
xyph Posted September 24, 2011 Share Posted September 24, 2011 http://webdesign.about.com/od/localization/a/aa060407.htm Link to comment https://forums.phpfreaks.com/topic/247762-align-text-to-right-arabic-writing/#findComment-1272293 Share on other sites More sharing options...
wadboram Posted September 24, 2011 Author Share Posted September 24, 2011 @Kira you meant I change that in the style.css ? actually the articles are saved as a text file on the site. @xyph thanks for the link, but how can I change the direction and the articles are written in a built in text editor and doesn't have alignment tab options? Link to comment https://forums.phpfreaks.com/topic/247762-align-text-to-right-arabic-writing/#findComment-1272296 Share on other sites More sharing options...
wadboram Posted September 24, 2011 Author Share Posted September 24, 2011 @Kira thanks I just added the text-align: right; in the main content part in the code and it worked Link to comment https://forums.phpfreaks.com/topic/247762-align-text-to-right-arabic-writing/#findComment-1272298 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.