html - Modifying TextArea with Scrolling, and positioning placeholder. -


so, i'm working trying create input bar, allow user input list of account numbers, can sent query web service. input bar long, , extends bottom of page ( user can input 100 account numbers @ time), , within nav tags keep securely on lefthand side of view.

at moment, placeholder runs across middle,rather top want it, doesn't scroll (vertically), , need able press enter , create new line within input bar - not submit. know, that's lot.

currently, code looks so:

<div id = “input”> <form>     <input type = “text” id = “actinput” class = “form-control” placeholder = “paste/import here” required style = “ display : table; height : 45h; resize: none; border-radius: 0px; overflow-y: scroll”> </form> </div> 

any appreciated everyone. thanks.

you use <textarea> instead of <input type="text">.


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -