Jump to content

textarea wrapping problem


MDanz

Recommended Posts

i have a textarea..

 

<textarea name='content' id='content'   wrap='soft' style='background-image: url(\"frontinput.jpg\");color: #000000;font-size:12px;font-family:Arial;width:445px; height:77px;border:none; padding:5px;'></textarea>

 

when i display in the div.. the text doesn't fill up the div.  the text goes 75% of the way and then line breaks.

 

here is the css for the div.

.message {
float:left;
width:98%;
background-color:#EFEFEF;
border: 1px solid black;
padding:4px;
overflow:auto;
margin-left:3px;
min-height:120px;


}

 

How do i get the text to go to the end of the div and then line break?

Link to comment
https://forums.phpfreaks.com/topic/210171-textarea-wrapping-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.