这是代码,问题出在哪啊,第一次照着做这鬼东西,好麻烦
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
body {
background: #F7F7F6 url(images/zbj.gif) repeat-y 50% 0;
background-attachment: fixed;
margin: 0;
padding: 0;
}
#header {text-align:center;
width:691;
height:auto;}
h1 {margin:auto;
width:691px;
height:81px;
text-indent: -9999px;
background-image:url(images/header.gif);
margin:0;
padding:0;
}
#left {width:178px;
float: left;
}
#left01{width:178px;
float: left;
}
#left01 ul {
margin:0;
padding:0;
list-style-type:none;
font:bold 12px/22px Verdana, Arial, Helvetica, sans-serif;
text-indent: 20px;
letter-spcing:1px;
border-bottom:1px solid #FFFFFF;
}
#left01 a {width:178px;
height:22px;
display:block;
}
#left01 a:link, #left01 a:visited {background:url(images/biao0.gif);
color:5c604d;
text-decoration:none;
}
#left01 a:hover {background:url(images/biao.gif);
color:#A5003B;
text-decoration:none;
}
#left01 li a#current {background:url(images/biao.gif);
color:#A5003B;
text-decoration:none;
}
-->
</style></head>
<body>
<div id="header"><img src="images/header.jpg" alt="ximicc" width="691" height="81" /></div>
<div id="left01">
<ul>
<li><a href="#" id="current">Home</a></li>
<li><a href="#">About me</a></li>
<li><a href="#">Contact me</a></li>
<li><a href="#">Articles</a></li>
<li><a href="#">Photo roll</a></li>
</ul>
</div>
<body>
</html>