How can I make a right-to-left and up-to-bottom textfield for user input in a browser? Are there any native ways to do it? Or maybe workarounds?
(Up-to-bottom could be like Japanese, or the hieroglyphs.)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For RTL text field, you can use the HTML
dirattribute (like Šime Vidas has already mentioned) or the withdir="RTL"directionattribute in CSS withdirection: rtl. You can use these properties on most visual HTML elements, not just on text fields.As for top-to-bottom direction, there’s no easy standard method that I am aware of, but that’s OK, since Japanese web pages rarely use vertical text that’s not embedded in images or Flash objects, and I’ve never seen any site using vertical input. In fact, vertical input in Japanese computers is rare extremely rare even outside of HTML, and is usually found only in WSIWYG editors (such as Word Processors) that produce printed vertical text.