Home  >  Article  >  Web Front-end  >  关于怎样禁止<textarea>在chrome等浏览器中允许拖动改变大小的问题_html/css_WEB-ITnose

关于怎样禁止<textarea>在chrome等浏览器中允许拖动改变大小的问题_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:25:011231browse

在表单里面,怎样能禁止


回复讨论(解决方案)

css里写

texearea {
resize: none;
}

正解 css里写

texearea {
resize: none;
}

css里写

texearea {
resize: none;
}

我现在代码是
把它改成textarea{resize:none; rows="10" cols="50"}吗?

nbsp;HTML>








nbsp;HTML>









++

nbsp;HTML>










非常感谢!!

request.getRemoteURI();

[Quote=引用 4 楼  的回复:]
nbsp;HTML>










非常感谢!!
好像还是不行呀!!??你可以了吗?

好像不起作用啊,我按照上面写的,没用啊

是因为把textarea 写成texearea

texearea {resize: none;}


应该是

textarea {resize: none;}

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn