<table width="660" border="2">
<tr>
<td style="width:10%">
<asp:Label ID="lb2" Text="内容:" runat="server" />
</td>
<td>
<asp:Label ID="lb3" runat="server" Text="aaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccdddddddddddddddddddddddddddeeeeeeeeeeeeeeeee" />
</td>
</tr>
</table>
我想让text的内容分成多行显示,应该怎么办??除了在字符串中加</br>
------解决方案--------------------------------------------------------
就只能在字符串里加<br />
------解决方案--------------------------------------------------------
- HTML code
<asp:Label ID="L1" runat="server" Text="dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd" style="word-break:break-all;" Width="50px"></asp:Label>