Aureole Posted October 11, 2007 Share Posted October 11, 2007 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... Quote Link to comment Share on other sites More sharing options...
Aureole Posted October 11, 2007 Author Share Posted October 11, 2007 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. Quote Link to comment Share on other sites More sharing options...
TheFilmGod Posted October 11, 2007 Share Posted October 11, 2007 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. Quote Link to comment Share on other sites More sharing options...
Aureole Posted October 11, 2007 Author Share Posted October 11, 2007 I own 11 Browsers (no shit) and all of them are showing the scroll bar even if the textarea in question is empty... Quote Link to comment Share on other sites More sharing options...
TheFilmGod Posted October 11, 2007 Share Posted October 11, 2007 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? Quote Link to comment Share on other sites More sharing options...
Aureole Posted October 12, 2007 Author Share Posted October 12, 2007 I appear to have fixed the issue, sorry. Thanks anyway... I'll post code next time. Quote Link to comment Share on other sites More sharing options...
TheFilmGod Posted October 13, 2007 Share Posted October 13, 2007 I appear to have fixed the issue, sorry. Thanks anyway... I'll post code next time. What did you do to fix the problem? I'd like to know for the future...? Quote Link to comment Share on other sites More sharing options...
Aureole Posted October 13, 2007 Author Share Posted October 13, 2007 I used <input type="textarea... When I apparently should have used <textarea... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.