I guess you are asking a question about the HTML
on this Perl list... ;)

See the Netscape HTML Tag Ref:

Index: http://devedge.netscape.com/docs/manuals/htmlguid/index.htm
Sepcifically 'TEXTAREA':
http://devedge.netscape.com/docs/manuals/htmlguid/tags10.htm#1340340


or download the Netscape HTM Tag Ref as a zip from:

http://devedge.netscape.com/docs/manuals/htmlguid/tagref.zip

and read that about the WRAP attribute:

WRAP
specifies whether lines longer than the text area's column width wrap to 
the next line. Navigator 2.0.
The value of WRAP can be one of the following:

·       OFF disables word wrap. Text the user types is displayed with the 
exact line breaks that the user types. If the user explicitly inserts a 
line break, however, the break is included as part of the text area's 
value. The user has to scroll horizontally to see the ends of lines that do 
not fit in the text area element.
·       HARD causes word wrap, and the line breaks are included when the 
form is submitted. The text wraps inside the text area element, and that 
the user does not need to scroll horizontally.
·       SOFT causes word wrap, but the line breaks are not included when 
the form is submitted.



Of course, if you're asking about CGI.pm, and forgot
to mention it, try

           perldoc CGI

and search for 'wrap' or 'textbox' or whatever.

Then again, you may wish to create wrapped text
from the text output of the form, in which case
I advise you to search.cpan.org for the Text::Wrap module

Most of all, remember that the more you tell the
world, the more the world can help you.

Cheers
Lee

At 23:01 27/02/01 -0800, William Lessard wrote:
>I have a textbox that has multiple lines (ie a comments box)
>When I show the thank you page with their input.. How do I wrap the text
>from the comments box. It just keeps going off the page.
>
>Please Help
>
>TIA
>william

Lee Goddard  <mailto:[EMAIL PROTECTED]>
________________________________________________________

Perl / XML / XSLT / Java / JavaScript / HTML / etc

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to