這是怎么回事?用sarifi也是這樣
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
? ? <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
? ? <title>慕課網(wǎng)</title>
? ? <link href="css/main01.css" rel="stylesheet" type="text/css">?
? ? <script src="js/setHomeSetFav.js" type="text/javascript" charset="gb2312"></script>
</head>
<body>
? ? <div>
? ? ? ? <div>
? ? ? ? ? ? <ul>
? ? ? ? ? ? ? ? <li><a href="#">聯(lián)系我們</a></li>
? ? ? ? ? ? ? ? <li><a href="#" onclick="AddFavorite(window.location,document.title)">加入收藏</a></li>
? ? ? ? ? ? ? ? <li><a href="#" onclick="SetHome(window.location)">設(shè)為首頁</a></li>
? ? ? ? ? ? </ul>
? ? ? ? </div> ? ? ?
? ? </div> ? ? ? ? <!--top結(jié)束-->?
? ? <div>
? ? ? ? <div>
? ? ? ? ? ? <div>
? ? ? ? ? ? ? ? <img src="images/logo.jpg" alt="慕課網(wǎng)" />
? ? ? ? ? ? </div>
? ? ? ? ? ? <div>
? ? ? ? ? ? ? ? <img src="images/tel.jpg" alt="服務(wù)熱線" />24小時服務(wù)熱線:<span>123-456-789</span>
? ? ? ? ? ? </div>
? ? ? ? </div><!--logo結(jié)束-->
? ? ? ? <div>
? ? ? ? ? ? <div></div>
? ? ? ? ? ? <div>
? ? ? ? ? ? ? ? <div>
? ? ? ? ? ? ? ? ? ? <ul>
? ? ? ? ? ? ? ? ? ? ? ? <li><a href="#">首頁</a>
? ? ? ? ? ? ? ? ? ? ? ? <li><a href="list.html">關(guān)于慕課</a></li>
? ? ? ? ? ? ? ? ? ? ? ? <li><a href="list.html">新聞動態(tài)</a></li>
? ? ? ? ? ? ? ? ? ? ? ? <li><a href="list.html">課程中心</a></li>
? ? ? ? ? ? ? ? ? ? ? ? <li><a href="list.html">在線課程</a></li>
? ? ? ? ? ? ? ? ? ? ? ? <li><a href="list.html">人才招聘</a></li>
? ? ? ? ? ? ? ? ? ? </ul>
? ? ? ? ? ? ? ? </div>
? ? ? ? ? ? ? ? <div>
? ? ? ? ? ? ? ? ? ? <form action="" method="post">
? ? ? ? ? ? ? ? ? ? ? ? <input type="text"/>
? ? ? ? ? ? ? ? ? ? </form>
? ? ? ? ? ? ? ? </div>
? ? ? ? ? ? </div>
? ? ? ? ? ? <div></div>
? ? ? ? </div><!--nav結(jié)束-->
? ? </div> <!--wrap結(jié)束--> ?
</body>
</html>
*{
? ? margin: 0;
? ? padding:0;
? ? font-size:12px;
}
body{
? ? background-color: #F5F5F5;
}
.top{
? ? width:100%;
? ? height:27px;
? ? background: url(../images/top_bg.jpg) repeat-x;
}
.top_content{
? ? width:1000px;
? ? margin:0 auto;
? ? line-height: 27px;
}
.top_content li{
? ? list-style-image: url(../images/li_bg.gif);
? ? float:right;
? ? width:70px;?
}
.top_content a:link,.top_content a:visited{
? ? color:#8E8E8E;
? ? text-decoration: none;
}
.top_content a:hover,.top_content a:active{
? ? color:#900;
? ? text-decoration: none;
}
.wrap{
? ? width:1000px;
? ? margin:0 auto;
}
.logo{
? ? height:80px;
? ? background-color: #FFF;
}
.logo_left{
? ? width:200px;
? ? float:left;
}
.logo_right{
? ? width:375px;
? ? float:right;
? ? height:28px;
? ? margin-top:30px;
? ? color:#8E8E8E;
}
.logo_right img{
? ? vertical-align: middle;
? ? margin-right: 10px;
}
.tel{
? ? font-family: "微軟雅黑";
? ? font-size: 16px;
? ? color:#C00;
}
.nav{
? ? height: 40px;
}
.nav_left{
? ? width:10px;
? ? background: url(../images/nav_left.jpg) no-repeat;
}
.nav_mid{
? ? width:980px;
? ? background:url(../images/nav_bg.jpg) repeat-x;
? ?
? ? ? ??
}
.nav_right{
? ? width:10px;
? ? background: url(../images/nav_right.jpg) no-repeat;
? ?
? ??
}
.nav_left,.nav_mid,.nav_right{
? ? float:left;
? ? height: 40px;
}