給定一個我想要集成到cms站點的表格,整個樣式表將覆蓋表格的內聯樣式......我如何防止樣式表執行此操作? 表我有看起來像這樣,並得到由樣式表覆蓋...有沒有簡單的方法來覆蓋樣式表內聯樣式?
<table id="idferthis" BORDER=1 RULES=NONE FRAME=BOX width="644" border="1" cellspacing="1" cellpadding="5">
<tr>
<th id="toptopper" bgcolor="#6a8044" align="right" scope="row">HIPHOO</th>
<td bgcolor="#afd46c" align="center">SOMETHIN</td>
<td bgcolor="#afd46c" align="center">SOMETHINELSE</td>
</tr>
....
</table>
非常感謝!
爲什麼使用內聯樣式而不是樣式表? – Zirak
可能重複[覆蓋屬性在「style =」屬性?](http://stackoverflow.com/questions/1933248/override-property-in-style-attribute) –
@Zirak ...因爲我太懶惰翻譯把表格轉換成適當的CSS ......並且這裏有很多這樣的表格......; -P – Jurudocs