Jump to content

[SOLVED] Input "text" to look like text area


s1yman

Recommended Posts

Hi all,

 

Does anyone know if it is possible to have input type="text" that looks like the text area (it HAS to be an input tag)?

I tried stretching it using style="height:100px;" but that just created white space under it couldn't type there, was the same.

I just need something bigger that you can see your text in after you have typed a lot. Any ideas?

 

Thanks in advance.

unfortunately, an input element is for one-liners.  one option is to use javascript to echo the value of the input element beside it, which allows them to see what they've typed even if the input element is only one line.  otherwise you're forced to use a textarea.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.