textarea resize disable 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: textarea resize off

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

Example 4: asp.net textarea disable resize

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

Example 5: 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; }

Tags:

Misc Example