为什么我点一键换肤没有反应
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Document</title>
<style type="text/css">
*{margin:0; pading:0;}
.dh{ height:30px; width:800px; list-style: none; background: red;}
.dh li a{
display: block;
float:left;
height:30px;
line-height:30px;
width:100px;
background: #fc6;
text-align: center;
color:green;
text-decoration:none;
}
.dh li a:hover{
background: #DBE6FD;
color:#999;
}
.h{ height:30px; width:700px; list-style: none;}
.h li a{
display: block;
float:left;
height:30px;
line-height:30px;
width:100px;
background:#E3E0D5;
text-align: center;
color:green;
text-decoration:none;
}
.h li a:hover{
background: #DBE6FD;
color:#999;
}
}
</style>
</head>
<body>
<ul id="hh">
<li><a href="#">首页</a></li>
<li><a href="#">新闻</a></li>
<li><a href="#">音乐</a></li>
<li><a href="#">贴吧</a></li>
<li><a href="#">知道</a></li>
<li><a href="#">政治</a></li>
<li><a href="#">经济</a></li>
</ul>
<input type="button" value="一键换肤" onclick="newColor()"/>
<script type="text/javascript">
function newColor()
{
// alert("年后");
var newUl=document.getElementById("hh");
newul.className="h";
}
</script>
</body>
</html>