我對TD的以下規則:如何覆蓋父類與TD CSS
.tab-entry-milestone .table td a {
color: #fff;
font-weight: 300;
}
這是用於許多表。有一個表中的一個部分,我希望顏色爲#000
而不是#fff
。我已經試過包裝該節中的以下內容:
<td>
<div id="not_white">
<a onclick="remove_fields(this); return false;" href="#"></a>
</div>
</td>
#not_white {
color: #000;
}
,但它不工作。我該如何解決它?
請出示相關的HTML。它很重要。 –
我加了。謝謝。 – Philip7899
我正在包裝一個 – Philip7899