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

WBOY
Release: 2016-06-24 12:25:01
Original
1231 people have browsed it

在表单里面,怎样能禁止


回复讨论(解决方案)

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();
Copy after login

[Quote=引用 4 楼 的回复:]











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

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

是因为把textarea 写成texearea

texearea {resize: none;}
Copy after login


应该是

textarea {resize: none;}
Copy after login

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!