
I have written a mouse over effect in CSS. But it is not working in HTML. Can any one suggest me? Thanks!!

<td width="70" height="60">
<a href="images/iImage.jpg" rel="lightbox" title="Image title" >
<img src="images/thumbs/iImage.jpg" width="65" height="40" border="0" class="gallery-img">
</a>
</td>

.gallery-img{
border:4px solid #FFFFFF;
}
.gallery-img:hover{
border:4px solid #D4D5D8;
}