用rows=和cols=在IE等浏览器里可以禁止拖动..但是放到chrome里面就不行了...
能不能给个详细的代码?我在网上搜了很多.说什么resize:none;..还有max-width:这些的..但是不会用...
回复讨论(解决方案)
css里写
texearea {
resize: none;
}
正解 css里写
texearea {
resize: none;
}
css里写
texearea {
resize: none;
}
我现在代码是
把它改成textarea{resize:none; rows="10" cols="50"}吗?
texearea {
resize: none;
}
texearea {
resize: none;
}
++
texearea {
resize: none;
}
非常感谢!!
request.getRemoteURI();
[Quote=引用 4 楼 的回复:]
texearea {
resize: none;
}
非常感谢!!
好像还是不行呀!!??你可以了吗?
好像不起作用啊,我按照上面写的,没用啊
是因为把textarea 写成texearea
texearea {resize: none;}
应该是
textarea {resize: none;}
查看更多关于关于怎样禁止<textarea>在chrome等浏览器中允许拖动改变大小的问题_html的详细内容...