Re: new lines in textareas?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux