textarea { /* for all text* area elements */
resize: none;
}
#foo { /* for particular id */
resize: none;
}
<textarea class="myTextArea"></textarea>
<style>
.myTextArea {
resize: none;
}
</style>
textarea {
resize: none;
}
<asp:TextBox ID="TextBox1" runat="server" TextMode = "MultiLine" style = "resize:none"></asp:TextBox>
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; }