disable textarea resize code example

Example 1: prevent textarea resize css

textarea {
  resize: none;
}

Example 2: disable textarea resize

textarea {   /* for all text* area elements */
  resize: none;
}

#foo {                  /* for particular id */
  resize: none;
}

Example 3: remove resize from textarea

textarea {
	resize: none;
}

Example 4: textarea resize off

<textarea class="myTextArea"></textarea>
<style>
  .myTextArea {
    resize: none;
  }
</style>

Example 5: textarea disable resize

<textarea style="resize: none;"></textarea>

Example 6: asp.net textarea disable resize

<asp:TextBox ID="TextBox1" runat="server" TextMode = "MultiLine" style = "resize:none"></asp:TextBox>

Tags:

Misc Example