Click to See Complete Forum and Search --> : textarea in Firefox does not wrap


scottjsn
04-19-2008, 08:03 PM
For a <textarea rows="5" cols ="51" in Firefox, I can type hundreds of characters without being wrapped, it just keeps going in one-liner, and meantime, the horizontal bar appears.

What I want is the text should wrap into multiple lines with each line carries 51 characters.

How can I achieve it?

(So long the page is large enough, all the text can be displayed, the horizontal or vertical bars should not showup; If the textarea shrinks into a smaller area, then the scroll bars should show up).


Thanks


Scott

smyhre
04-19-2008, 08:16 PM
I'm assuming that you are not putting spaces in there? If you put spaces does it do the same thing? In a form I created if there is no spaces in the characters it produces the same exact thing you are experiencing, but if I actually type real words with spaces it wraps the text as it should. This happens in Fx 2 and 3. Not sure of a real fix other than type real words with spaces.

ray326
04-19-2008, 11:04 PM
Yes, textareas do word wrap. Type something real in there and it will work right.