/    Sign up×
Community /Pin to ProfileBookmark

textarea in Firefox does not wrap

For a [B]<textarea [/B]rows=”5″ cols =”51″ in [B]Firefox[/B], 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

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@smyhreApr 20.2008 — 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.
Copy linkTweet thisAlerts:
@ray326Apr 20.2008 — Yes, textareas do word wrap. Type something real in there and it will work right.
×

Success!

Help @scottjsn spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.21,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...