[英]How to increase the line spacing in a multiline textbox in asp.net?
<asp:TextBox ID="questionTb" runat="server" Height="160px" TextMode="MultiLine" Rows="10" MaxLength="2" Width="100%" OnTextChanged="questionTb_TextChanged"></asp:TextBox>
The above given code segment provides an output which is mentioned below. 上面给定的代码段提供了下面提到的输出。
Is there any way to increase the space between two lines? 有什么方法可以增加两条线之间的距离吗? (Ex: line-spacing: 1.5 ) (例如:行距:1.5)
我的问题的正确答案是:
textarea { line-height: 200% !important; }
try this 尝试这个
textarea {
padding: 10px;
line-height: 1.3;
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.