I have created a style for an input text box, I want the text to start from the top left corner. When entering texts in iPhone, I want the “Return” key available on the keyboard, so people can separate texts in paragraphs, here is my script:
<style>
.inputs>input[type=text],.inputs>input[type=password],.inputs>input[type=number]{
height: 100px!important;
vertical-align: top;
}
</style>
It is currently vertically aligned in the middle, instead of the top. And all I have is an “OK” button to submit my text answers when entering texts in iPhone, instead of the “Return” key.
I believe I need additional styles to control the “OK” to “Return” to display, but just can’t find anywhere on the internet to show me how.
Many thanks for your help!
For multi-line text input, you need a
<TEXTAREA>(http://www.w3schools.com/tags/tag_textarea.asp) not and<INPUT>.