In my webpage I set the locale to arabic and want to change the direction of the content display from right to left by using <html dir = "rtl">
. But it is not displaying all the divisions of webpage from right to left some are getting reflected and some are not.
Is there any suggestion to change all the content display from right to left of a web page?
This is old question, but i hope it'll help someone, If
direction:rtl;
didn't work then try to override bidi in your cssHTML dir="rtl"
orCSS direction:rtl
is to control BiDi for the language script.But in most cases where mixing different scripts you need to add also
HTML align="right"
orCSS text-align:right
which is used to control visual display alignment.The following code
will work like sugar.
You can use CSS instead:
Have a look at this page from W3 about your issue.