次のような状況があります:
.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_green
background-color
inherit
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/
何か助けはありますか?