效控制C#中label输出文字的长度,自动换行
2011-01-25 15:46 CaiGen008 阅读(832) 评论(0) 编辑 收藏 举报

<table>
<tbody>
<tr>
<td style="overflow-x: hidden; word-break: break-all; line-height: 130%; word-wrap: break-word; padding: 6px;">
<asp:label id="test" runat="server"></asp:label>
</td>
</tr>
</tbody>
</table>