How can I make user not allow to resize textarea?

This question already has an answer here:

  • How to disable resizable property of textarea? 13 answers

  • textarea {
       resize:none;
    }
    <textarea rows="3"></textarea>

    尝试这个

    <textarea rows="4" cols="50" style="resize:none;">
        At w3schools.com you will learn how to make a website. We offer free tutorials in all web development technologies. 
    </textarea>
    

    尝试这个

    <html>
    <head>
    </head>
    <body>
        <textarea style="overflow:auto;resize:none" rows="10" cols="20"></textarea>
    </body>
    </html>
    
    链接地址: http://www.djcxy.com/p/27382.html

    上一篇: 在textarea框中删除sizer

    下一篇: 我如何让用户不允许调整textarea的大小?