how to restrict user from resize textarea
textarea {
resize: none;
}
how to restrict user from resize textarea
textarea {
resize: none;
}
disable textarea resize
textarea { /* for all text* area elements */
resize: none;
}
#foo { /* for particular id */
resize: none;
}
textarea resize off
<textarea class="myTextArea"></textarea>
<style>
.myTextArea {
resize: none;
}
</style>
textarea disable resize
<textarea style="resize: none;"></textarea>
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; }
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us