本文介绍了'resize:none'有效,但带有红色下划线并反映......的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 为了通过鼠标拉动来停止文本框的宽度和高度扩展,我使用了resize:none。它可以工作,但在代码中它以红色加下划线并且不会引发任何错误。在出现任何其他错误的同时,此调整大小:none也与错误列表一起加入。 是否有更安全方面的更正。 In order to stop the textbox width and height expansion by mouse pulling I used resize:none. It works but in the code it is underlined in red color and does not throw any error. AT the same time whenever there is anyother error appearing, this resize:none also joins with the error list.Is there any correction to be made for safer side.<asp:TextBox ID="TextBox8" AutoPostBack="true" runat="server" Textmode="multiline" width="644" ForeColor="White" BackColor="DarkSeaGreen" Height="69" style="z-index: 1; margin-top:6px; resize:none; left:1px" ></asp:TextBox> 谢谢。Thanks.推荐答案 这篇关于'resize:none'有效,但带有红色下划线并反映......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
09-23 08:33