SN1P3R_85 Posted September 2, 2008 Share Posted September 2, 2008 This is more of an html question than a php question, but i figured you guys would know this. I have a text input field, it is similar in size to the reply input that i'm writing in right now. When i reach the end of the input field, it begins to scroll to the right, and continues on one straight line. I would like it to do a carriage return when it reaches the end, so i can write a block of text, instead of one line. This way it will only scroll down, not to the side. Are there any attributes that can do this? thanks. Link to comment https://forums.phpfreaks.com/topic/122405-solved-html-ltformgt-ltinputgt-help/ Share on other sites More sharing options...
pocobueno1388 Posted September 2, 2008 Share Posted September 2, 2008 Use a textarea instead, your not going to be able to do it with a text input. <textarea name="..." rows=5 cols=10></textarea> Link to comment https://forums.phpfreaks.com/topic/122405-solved-html-ltformgt-ltinputgt-help/#findComment-632040 Share on other sites More sharing options...
SN1P3R_85 Posted September 2, 2008 Author Share Posted September 2, 2008 is textarea an input type? How do i include a textarea? would this work: <input type="textarea" name="text_input" /> Link to comment https://forums.phpfreaks.com/topic/122405-solved-html-ltformgt-ltinputgt-help/#findComment-632043 Share on other sites More sharing options...
SN1P3R_85 Posted September 2, 2008 Author Share Posted September 2, 2008 nvm, i figured it out, thanks alot for the help. Link to comment https://forums.phpfreaks.com/topic/122405-solved-html-ltformgt-ltinputgt-help/#findComment-632045 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.