<html >
<head>
<title> ccc </title>
<style>
.cc1
{
height:100px;
width:800px
}
</style>
<script language= "javascript ">
<!--
window.onload=fnInit;
function fnInit(){
oRow.bgColor= "#aabbcc ";//////这里写成bgcolor就不行,为什么啊?
}
-->
</script>
</head>
<body>
<table class= "cc1 " id= "oSheet " border=1>
<tr id= "oRow ">
<td> dd
</td>
</tr>
<tr>
<td> dd
</td>
</tr>
</table>
</body>
</html>
------解决方案--------------------
oRow.bgColor
-->
oRow.style.backgroundColor
------解决方案--------------------
javascript是对大小写敏感的。