Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: Word wrap question?


Message #1 by "Melinda Savoy" <msavoy@c...> on Thu, 6 Jul 2000 15:6:55
Yes, the <TEXTAREA> tag has a WRAP attribute which can be set to either OFF
where you have no wordwrapping, VIRTUAL which wraps text, but still sends it
all as one long line, or as PHYSICAL which allows you to warp text and adds
line breaks for each new line.

Chris 

-----Original Message-----
From: Woody Cox [mailto:woody.cox@e...]
Sent: Thursday, July 06, 2000 4:02 PM
To: HTML Code Clinic
Subject: [html_code_clinic] RE: Word wrap question?


Try using a TEXTAREA tag instead.....

-----Original Message-----
From: Melinda Savoy [mailto:msavoy@c...]
Sent: Thursday, July 06, 2000 3:01 PM
To: HTML Code Clinic
Subject: [html_code_clinic] Word wrap question?


Is there a way to code my html to allow for word wrap in an INPUT 
TYPE="text" string?  Within an ASP page that I am coding, I click on 
Question that has been entered into a table and when I click on the 
question it populates these two text boxes.  But my text does not wrap.  
Any help would be appreciated.  Here is my code:

<P>Question Description:<BR>

<INPUT TYPE="text" NAME="question_descr" STYLE="HEIGHT: 70px; WIDTH: 
350px;" MAXLENGTH="2000" VALUE="<%=strquestion_descr%>"><BR>

<P>Answer Description:<BR>

<INPUT TYPE="text" NAME="answer_descr" STYLE="HEIGHT: 70px; WIDTH: 350px;" 
MAXLENGTH="5000" VALUE="<%=stranswer_descr%>"><BR>

---
Wrox Professional Wireless Developer Conference, Amsterdam, July 10-12.
Covering application of WAP, XML, ASP, Java and C++ to wireless computing,
choose from 40+ technical sessions delivered by industry experts:
http://www.wroxconferences.com/ConferenceHome.asp?ConfID=9
woody.cox@e... 
$subst('Email.Unsub')
---------------------------------------------------
Moderated programmer to programmer lists at http://p2p.wrox.com

---
Wrox Professional Wireless Developer Conference, Amsterdam, July 10-12.
Covering application of WAP, XML, ASP, Java and C++ to wireless computing,
choose from 40+ technical sessions delivered by industry experts:
http://www.wroxconferences.com/ConferenceHome.asp?ConfID=9
$subst('Email.Unsub')
---------------------------------------------------
Moderated programmer to programmer lists at http://p2p.wrox.com

  Return to Index