HighDots Forums  

Textarea Word Wrap

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Textarea Word Wrap in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
bmitchell
 
Posts: n/a

Default Textarea Word Wrap - 12-01-2005 , 08:13 PM






I am developing a CF site using DW. I have my pages saved as .cfm.

I have a form embeded as a SSI. The textarea is limited to 50 columns and 5
rows.

When I test the form, I intentionally put 6 rows of letters in the field.

When I get the thankyou page that contains what I have written, the words do
not wrap and causes the table to go off the screen.

Is this just a matter of locking the table width?

Your help is appreciated.


Reply With Quote
  #2  
Old   
robot88888888
 
Posts: n/a

Default Re: Textarea Word Wrap - 12-02-2005 , 07:04 AM






Are you putting any spaces between the words/letters?

Tables in HTML expand to accomidate whatever you put in them, if you have a
thousand character word with no spaces or hypens its bound to cause the
table to expand off the screen.


"bmitchell" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I am developing a CF site using DW. I have my pages saved as .cfm.

I have a form embeded as a SSI. The textarea is limited to 50 columns and
5
rows.

When I test the form, I intentionally put 6 rows of letters in the field.

When I get the thankyou page that contains what I have written, the words
do
not wrap and causes the table to go off the screen.

Is this just a matter of locking the table width?

Your help is appreciated.




Reply With Quote
  #3  
Old   
Lionstone
 
Posts: n/a

Default Re: Textarea Word Wrap - 12-02-2005 , 09:51 AM



No, it's a matter of replacing text line breaks with the <br> tag on output.
I'm not sure what CF command you'd use for that.



Reply With Quote
  #4  
Old   
robot88888888
 
Posts: n/a

Default Re: Textarea Word Wrap - 12-02-2005 , 01:56 PM



If the OP has any spaces between the words, the information will wrap on its
own without the <br> tags.

Now, if you want the words to break where the user hit the enter key, then
you would need to replace line breaks with <br> tags.


"Lionstone" <HIDElionstone (AT) HIDEhushmail (DOT) com> wrote

Quote:
No, it's a matter of replacing text line breaks with the <br> tag on
output.
I'm not sure what CF command you'd use for that.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.