Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Textarea boxes in CGI

by crouchingpenguin (Priest)
on Jun 17, 2003 at 19:29 UTC ( #266613=note: print w/ replies, xml ) Need Help??


in reply to Textarea boxes in CGI

My memory is a little foggy (it's almost quitting time for today)... but I think the textarea's wrap attribute can have an affect on this as well. The textarea wrap attribute can be set to HARD,VIRTUAL,OFF,SOFT. The sticky issue is these attributes are browser dependent.

The white-space CSS property is similar to the textarea's wrap attribute. Possible Values are: normal, pre, and nowrap

A google search shows this:, this, and this. These describe wrap, but may not be worth much else.

Update: Right, cLive. I bolded the part of my post that mentioned that. =]


cp
----
"Never be afraid to try something new. Remember, amateurs built the ark. Professionals built the Titanic."


Comment on Re: Textarea boxes in CGI
Re: Textarea boxes in CGI
by cLive ;-) (Parson) on Jun 17, 2003 at 21:09 UTC
    It's worth noting that wrap is not a valid html/xhtml attribute for a textarea tag, but a browser extension that (I think) was first brought in by Netscape), and then adopted (with slightly different attribute values) in IE.

    Use with caution!

    cLive ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://266613]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (12)
As of 2014-10-23 09:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (125 votes), past polls