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 dirin 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 | ltrfor 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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -