【发布时间】:2020-12-18 18:15:19
【问题描述】:
我想并排显示 modalpopupextender 中的按钮,而不是堆叠在一起。下图是:
我希望并排删除和取消按钮。以下是我的代码:
<div >
<p style="width:200px;height:100px;margin-right:auto;margin-left:auto">
<asp:Button ID="OkButton" runat="server" Text="Remove" CommandName="delete" CommandArgument='<%#Eval("CartID") %>'/>
<asp:Button ID="CancelButton" runat="server" Text="Cancel" />
</p>
</div>
【问题讨论】:
-
使用 display: inline-block;
-
我试过了,还是一样。下面是代码:
-
stackoverflow.com/a/21376901/3143426 这个答案应该有帮助