Any way to disable Firefox 4 textarea

I have a site with a textarea that is a very specific size; resizing it could make the user think that they can enter more text into the textarea than is possible (it is limited by rows and columns). Firefox 4 automatically shows a 'resize handle' in the bottom-right of the textbox and as a user I can resize the textarea on the page. Is there any way to disable this?

Thanks.


使用CSS并将其设置为:

textarea {
    resize: none;
}

Sometimes the CSS will not work. I have successfully removed the users ability to resize the textbox by using an inline style. Those are the last ones processed by the browser and have the final say on what style is used.

链接地址: http://www.djcxy.com/p/27392.html

上一篇: Telerik Kendo MVC TextBox多行模式

下一篇: 任何方式来禁用Firefox 4 textarea