Answers for "css textarea no resize"

14

how to restrict user from resize textarea

textarea {
  resize: none;
}
Posted by: Guest on December-18-2019
12

disable textarea resize

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

#foo {                  /* for particular id */
  resize: none;
}
Posted by: Guest on July-06-2020
4

textarea resize off

<textarea class="myTextArea"></textarea>
<style>
  .myTextArea {
    resize: none;
  }
</style>
Posted by: Guest on April-24-2020
0

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; }
Posted by: Guest on August-09-2020

Browse Popular Code Answers by Language