如果孩子的类别为“PageText_L657n”,则尝试将类别添加到类别为“pricecolor”的字体标签中。
<table width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="64%" valign="top"> Stock Item (Usually Ships Within 24 Hours) <br>
<font class="text colors_text"><span class="PageText_L483n"><b><span class="PageText_L334n">MSRP</span>: $4,895.00</b> </span></font><br>
<b><font class="pricecolor colors_productprice"><span class="PageText_L483n"><font class="text colors_text"><b>Regular Price: </b></font> $1,872.34 </span></font></b><br>
<br>
<a class="pricecolor colors_productprice"><span class="PageText_L657n"><span style="font-size: 16px; color: rgb(0, 0, 255);">Click To Get Today's Special Price!</span></a></td>
<td width="36%" align="right"></td>
</tr>
</tbody>
</table>
<script>
$(function(){
$(".pricecolor").child().hasClass("PageText_L657n").addClass("ice1");
});
</script>