Üzerine gelince renk değiştiren tabloları görümüşsünüzdür. Bu örnek onlardan birisidir ve konuyu öğrenmek için yeterlidir.
<style type="text/css">
/*< ![CDATA[*/
td.row1 {
background: #E3ECFB;
}
td.row2 {
background: #CCFFCC;
}
/*]]>*/
</style>
<table width="150" border="1">
<tr>
<td class="row1"
onmouseover="this.className='row2'"
onmouseout="this.className='row1'">
Deneme
</td>
</tr>
</table>
