【发布时间】:2015-02-01 01:03:33
【问题描述】:
我在按钮上有一些文本,我想在按钮内换行我这样做:
btn.Text = "Find\n Transactions";
这适用于 Internet Explorer 9,但不适用于 Internet Explorer 10。
我也尝试过 environment.newline 变体,但这不起作用。
【问题讨论】:
-
2 Line Button Value的可能重复
-
@walther 很抱歉我没有明确说明 ASP:BUTTON 吗?
-
另一种方式,您可以尝试使用
asp.netLinkButton呈现为<a />,您可以在其中添加一些html。 -
@Bharadwaj 感谢您的建议。
标签: c# asp.net asp.net-mvc-4 internet-explorer-10