1

I've been having a bit of trouble with a problem that seems as though it should be obvious, but my internet searches yield no results. Essentially, I'm trying to create an image-board like HTML skeleton for a project. However, my text entry box (resized to allow for entrance of more than a few words, doesn't allow for entry of more than one line (hitting enter does not start a new line, and arrow keys don't work either.)Keep in mind that I cannot use javascript or any server side languages. What should I do with this?

The id of the textbox is #postbigger - I heard there was a rows style, but upon trying it got no results. Is there some form of css descriptor I can add? ( This is not a duplicate, as I needed to actually apply the code and remove the resizable effect on )

#postbigger {
  height:100px;
  width:300px;
  font-size:14px;
}

  
<form>
Post:<br><input id="postbigger" type="text"/><br>
Id Code:<br><input type="text"/>
</form>

2
  • 1
    can't you use a textarea as @zer00ne has mentioned below? Commented Jan 2, 2017 at 0:28
  • @PavKR how would I use that in a form? Would I replace input somehow? Commented Jan 2, 2017 at 0:32

1 Answer 1

1

Use <textarea>

<textarea rows='6' cols='40'></textarea>

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.