CSS

테이블 마우스 오버색 바꾸기

포샵질 2017. 2. 1. 13:11

<table border cellspacing="0" bordercolordark="black" bordercolorlight="black"
 style="line-height:150%; margin-top:0; margin-bottom:0;">
    <tr>
        <td width="62" onmouseout="this.style.backgroundColor='#FFFFFF'" onmouseover="this.style.backgroundColor='#ffcc00'"><p
             style="line-height:150%; margin-top:0; margin-bottom:0;"> </td>
        <td width="59" onmouseout="this.style.backgroundColor='#FFFFFF'" onmouseover="this.style.backgroundColor='#41BFFF'"><p
             style="line-height:150%; margin-top:0; margin-bottom:0;"> </td>
    </tr>
    <tr>
        <td width="62" onmouseout="this.style.backgroundColor='#FFFFFF'" onmouseover="this.style.backgroundColor='#cccccc'"><p
             style="line-height:150%; margin-top:0; margin-bottom:0;"> </td>
        <td width="59" onmouseout="this.style.backgroundColor='#FFFF

FF'" onmouseover="this.style.backgroundColor='#FFFFCC'"><p
             style="line-height:150%; margin-top:0; margin-bottom:0;"> </td>
    </tr>
</table>