哪位帮我看一下,这么简单的代码,我不知道错在哪里呀?
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<script language="javascript1.2">
function ss(){
document.getElementById("zzl").style.background-color="blue";}
</script>
</head>
<body id="zzl">
<table width="50%"><tr><a onClick="ss()"><td height="20" style="background-color:#990066 "></a>
</td><td style="background-color: #0033FF"></td></tr>
</table>
</body>
</html>