Jump to content

[SOLVED] Textareas...


Aureole

Recommended Posts

Ok so how in the hell do I make it so when you type in a text area when you get to the end of the text area it knocks it down onto the next line? (Just like it does here... and anywhere else you go) I've searched Google and I can't find it...

 

I tried...

 

overflow-x:none;
overflow-y:scroll;

 

...but it didn't work.

 

EDIT:

 

It seems using <textarea></textarea> instead of <input type="textarea" /> works...

Link to comment
https://forums.phpfreaks.com/topic/72697-solved-textareas/
Share on other sites

Ok well that did work but it always shows a scrollbar even if there is no content to scroll... I just want it to show a scroll bar only if there's content to scroll like there is here.

 

 

This is more browser related. YOu see, you are creating a small textarea? - am I right? Because browsers will typically put in a scroll bar even if not needed if the text-area is too small. IE does this. (Stupid IE). You can either make it bigger, and this will fix the problem, or just stick with it.

Link to comment
https://forums.phpfreaks.com/topic/72697-solved-textareas/#findComment-366724
Share on other sites

I own 11 Browsers (no shit) and all of them are showing the scroll bar even if the textarea in question is empty...

 

Okay, maybe I was mistaken. Its not browser related. ANYWAY, your textarea is too small. You need to make it taller, more horizontal lines.

 

Also, why not post some code? Do you really expect much help without the code?

Link to comment
https://forums.phpfreaks.com/topic/72697-solved-textareas/#findComment-367314
Share on other sites

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.