Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.