一个CSS的问题
我在CSS文件中写了如下:
td.header {
height:"27"
style:"cursor: hand";
background:"img/left_menu_out_bg.gif";
onMouseOver:"background : 'img/left_menu_over_bg.gif'";
onMouseOut:"background : 'img/left_menu_out_bg.gif'";
}
td.content {
height:"22";
bgcolor:"#EAEAEA";
onMouseOver:"this.style.backgroundColor:'#ECF8FF';";
onMouseOut:"this.style.backgroundColor:'#EAEAEA';";
}
以下是在网页中的引用:
<table>
<tr>
<td class="header">menu1
</td>
<td class="content">menu2
</td>
</tr>
</table>
为何这样写毫无效果呢?图片没有显示出来,颜色也不对,请高手指点