I am trying to keep a button in the bottom right corner of a table. How Can I do that ?
我试图在桌子的右下角保留一个按钮。我怎样才能做到这一点 ?
<HeaderTemplate>
</HeaderTemplate>
<ContentTemplate>
<div>
<table>
<tr>
<td valign="bottom" align="right">
<asp:Button ID="Update" runat="server" Text="Update" />
</td>
</tr>
</table>
<div>
</ContentTemplate>
1 个解决方案
#1
You can add styles to your table cell to align the content to bottom and right:
您可以向表格单元格添加样式,以将内容与底部和右侧对齐:
vertical-align: bottom;
text-align: right;
for an inline test you would have:
对于内联测试,您将拥有:
<td style="vertical-align: bottom; text-align: right;">
#1
You can add styles to your table cell to align the content to bottom and right:
您可以向表格单元格添加样式,以将内容与底部和右侧对齐:
vertical-align: bottom;
text-align: right;
for an inline test you would have:
对于内联测试,您将拥有:
<td style="vertical-align: bottom; text-align: right;">