如何为标签赋予包裹属性 [英] How to give wrap property for label

查看:104
本文介绍了如何为标签赋予包裹属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

Iam输入300个字符,其标签宽度将异常扩展.如何设置标签属性以将文本移至下一行.

Hello all,

Iam entering 300 charaters it label width will expand abnormally.how can i set for label property to move the text to next line.

推荐答案



添加 <br /> 来标记文本,然后它将出现在下一行

最好的
Hi,

Add <br /> to label text then it''ll comes in next row

All the Best


请参阅此
http://forums.asp.net/t/1485864.aspx [
Refer this
http://forums.asp.net/t/1485864.aspx[^]




您可以将TextBox控件与无边界一起使用.


Hi,

You can use the TextBox Control with borderless.


<asp:TextBox BorderStyle="None"   ID="txt_CommentsCab"  CssClass="Txtbox" runat="server"
    Width="350px" Height="350px" />


这篇关于如何为标签赋予包裹属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆