【发布时间】:2011-08-25 10:46:04
【问题描述】:
这是我的代码 sn-p:
<div class="totals">
<table id="shopping-cart-totals-table">
<col />
<col width="1" />
<tfoot>
<tr>
<td style="" class="a-right" colspan="1">
<strong>Grand Total</strong>
</td>
<td style="" class="a-right">
<strong><span class="price">$364.99</span></strong>
</td>
</tr>
</tfoot>
<tbody>
<tr>
<td style="" class="a-right" colspan="1">
Subtotal </td>
<td style="" class="a-right">
<span class="price">$354.99</span> </td>
</tr>
<tr>
<td style="" class="a-right" colspan="1">
Shipping & Handling (Flat Rate - Fixed) </td>
<td style="" class="a-right">
<span class="price">$10.00</span> </td>
</tr>
</tbody>
</table>
有没有办法选择显示“$10.00”的跨度?也许选择第二次出现的元素? IE:第二次出现“.totals table tbody tr td[colspan='']”?
【问题讨论】:
-
请记住编码你的
&amp;字符(&amp;)。
标签: css css-selectors