css property to not resize textarea code example
Example 1: disable textarea resize
textarea { /* for all text* area elements */
resize: none;
}
#foo { /* for particular id */
resize: none;
}
Example 2: make textarea not resizable
You can either apply this as an inline style property like so:
<textarea style="resize: none;"></textarea>
or in between
<style>...</style> element tags like so:
textarea { resize: none; }