Answers for "textarea without resize"

14

prevent textarea resize css

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
8

remove resize from textarea

textarea {
	resize: none;
}
Posted by: Guest on July-03-2020
4

textarea resize off

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

Textarea disable resize CSS

to disable all

textarea { resize: none; }
only vertical resize

textarea { resize: vertical; }
only horizontal resize

textarea { resize: horizontal; } 
disable vertical and horizontal with limit

textarea { resize: horizontal; max-width: 400px; min-width: 200px; }
disable horizontal and vertical with limit

textarea { resize: vertical; max-height: 300px; min-height: 200px; }
Posted by: Guest on May-10-2021
2

textarea disable resize

<textarea style="resize: none;"></textarea>
Posted by: Guest on September-22-2020

Browse Popular Code Answers by Language