我有以下HTML:
<table cellspacing="10px" cellpadding="10px" width="100%" style="border-spacing: 10px">
<tr align="left">
<td>
<asp:Label ID="Label0" runat="server" Text="<%$ Resources:Strings, OrderReference %>" />
<asp:Label ID="TRANS_NB_LB" runat="server" />
<asp:Label ID="Label5" runat="server" TabIndex="5" Text="<%$ Resources:Strings, Shipment %>" />
<asp:Label ID="SHIP_COST_LB" runat="server" />
</td>
</tr>
<tr align="left">
<td>
<asp:Label ID="Label1" runat="server" TabIndex="5" Text="<%$ Resources:Strings, OrderAmount %>" />
<asp:Label ID="TRANS_AMOUNT_LB" runat="server" />
<asp:Label ID="Label2" runat="server" TabIndex="5" Text="<%$ Resources:Strings, ShippingMethod %>" />
<asp:Label ID="SHIPP_METH_LB" runat="server" />
</td>
</tr>
<tr align="left">
<td>
<asp:Label ID="Label3" runat="server" TabIndex="5" Text="<%$ Resources:Strings, Date %>" />
<asp:Label ID="TRANS_DATE_LB" runat="server" />
<%-- --%>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label4" runat="server" TabIndex="5" Text="<%$ Resources:Strings, BillNumber %>" />
<asp:Label ID="SHIP_BILL_NUMBER_LB" runat="server" />
<%-- --%>
</td>
</tr>
</table>
显示下表:
我想修复这些列,以便它们在彼此之下正确显示,例如:(替换&#34; _&#34;按空格)
Order Reference__OSP-00060000308__________Shipment_________100.00000.
Order Amount_____879.00000________________Shipping Method.
Date_____________7/13/2016 11:17:38 AM.
Bill Number______SHIP-000000000227.
我该如何解决?如何添加边框间距?还有一种方法可以添加&#34;:&#34;在元素名称之后(例如Order Reference:)?
答案 0 :(得分:0)
对不起,我是新来的,找到了答案:
follow.setTitle("Following", forState: UIControlState.Normal)
&#13;
希望我没有浪费你的时间,这可能对像我这样的新手有用:)