Re: new lines in textareas?

From: Date: Tue, 01 Apr 2008 14:24:23 +0000
Subject: Re: new lines in textareas?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-272394@lists.php.net to get a copy of this message
On Sun, March 30, 2008 7:20 am, jeffry s wrote: > my client ask me about this problem 2 weeks ago. he want the text to > automatically > go to new line after user type until the end of the line. The only > possible > solutions so > far is using wrap='hard' or wrap='soft' > eg: <textarea cols=10 rows=10 wrap=hard> > but wrap only work on IE & Netscape browser. Not working in firefox. > i guess i want to use javascript to do the text formatting. trigger > the > javascript event > every time the user using the onchange event (i never try).. > i is quite complicated & i dont have much time working on it. > so i decided to tell him, it cannot be done :) If wrap="soft" isn't working in Firefox, then your fancy-dancy CSS is messing things up somehow, or you've managed to do something else really weird... Firefox wraps just fine for me, in all the textarea inputs I've ever used. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So?

« previous php.general (#272394) next »