javascript - How to change the direction of writing depending of the country? -
i working major improvement in website, language english need support hebrew, have modify text components , forms purpose.
at moment have added next line:
<meta http-equiv="content-language" content="de, fr, it, en, he, iw"/>
for support special characters or symbols (right?)
but have seen metadata dir
in html tag needed specify direction of writing, suppose needed in text components. question is: how change direction of writing in these form components depending of country?
i have found clean solution topic, working class or tag name or id can specify in css stylesheets property direction: rtl | ltr
for example, if need more possibilities of customizing inside website or hybrid app can try work media queries, different stylesheets depending device , on, know, beautiful world of media queries!
Comments
Post a Comment