how to make textarea have a particular height and width code example
Example 1: textarea rows cols
<textarea rows="4" cols="50">
Example 2: html textarea auto height to amount of text
$('textarea').each(function () {
this.setAttribute('style', 'height:' + (this.scrollHeight) + 'px;overflow-y:hidden;');
}).on('input', function () {
this.style.height = 'auto';
this.style.height = (this.scrollHeight) + 'px';
});