Applellial Posted February 28, 2011 Share Posted February 28, 2011 Hi, I have a textbox placed inside a scroll pane which I need to scroll horizontally once the end of the box is reached and only go on a new line when I tell it to The scroll pane works fine vertically, adding a scroll bar once the bottom of the box has been reached but i cant get it to add the horizontal one. It just automatically puts the text onto a new line was it reaches the edge of the text box. Why wont it automatically scroll horizontal? Link to comment https://forums.phpfreaks.com/topic/229108-jscrollpane-wont-scroll-horizontal/ Share on other sites More sharing options...
nogray Posted March 1, 2011 Share Posted March 1, 2011 you should add the wrap attribute to your textarea <textarea wrap="off"></textarea> Link to comment https://forums.phpfreaks.com/topic/229108-jscrollpane-wont-scroll-horizontal/#findComment-1181078 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.