1. Setting the length and width of textarea
Method 1: Use cols, rows
Disadvantages: It cannot be modified after setting (js also cannot be modified), and the sizes are different in IE and Firefox.
Method 2: Use width, height.
2. The content in the Table automatically wraps
Use style = "WORD-BREAK: break-all"
table's td Riga After adding the textarea, set the width to 100%. The textarea will be opened automatically. Just add the above to the table