次のような状況があります:
.table_green {
background: #B4E391;
}
.data_table tbody tr:hover {
background-color: #fff;
cursor: pointer;
}
.unclickable_table tbody tr:hover {
background-color: inherit;
cursor: default;
}
現在、tr元は緑色であり、テーブルがclass='data_table unclickable_table'設定されているときに、クラスtrを持つテーブルにカーソルを合わせると、プロパティは変更されず、緑色のままですが、機能していないようですtable_greenbackground-colorinherit
html の例:
<table class='data_table unclickable_table'>
<tbody>
<tr class='table_green'>
<td>Untill it goes Click!</td>
</tr>
</tbody></table>
または、このフィドル: http://jsfiddle.net/nyDNc/1/
何か助けはありますか?