Thanks for your response.
760px, my bad.
I did some research as well at http://www.idocs.com/tags/forms/_TEXTAREA_WRAP.html where it says to add the wrap attribute and set to "soft | hard | off". I tried to set it hard, but that did not work -- the text still breaks out of the div. Here is a snippet:
Code:
<div class="container">
<table cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="strong greyText" colspan="2" align="left">Reason for Request: <em>Limit 200 characters</em><br>
<html:textarea property="interest_reason" styleId="interest_reason" cols="50" rows="3" wrap="hard" onkeydown="limitText(this.form.interest_reason,200);" onkeyup="limitText(this.form.interest_reason,200);"></html:textarea>
</td>
</tr>
</table>
</div>
Note: The "bold" font in the code above (wrap) is just to guide your eye.
Here is the style:
Code:
<style>
div.container {
width: 760px;
margin-left: auto;
margin-right: auto;
margin-top: auto;
align: center;
padding: 0px;
}
</style>
I don't know whether it is b/c of the HTML textarea element is w/i JAVA code that the browser seems to ignore the wrap attribute or not. But I will try your suggestion to use overflow property and let you know the result momentarily.
Bookmarks