日期:2014-05-18  浏览次数:20693 次

关于本网站界面问题(*)
本人正在做课程设计.我想做跟该网站旁边菜单一样的界面.不知道怎么做.能不能给代码给小弟啊!!!

------解决方案--------------------

HTML code

<!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">
<!--
ul#navlist
{
margin: 0 0 0 30px;
padding: 0;
width: 12.5%;
}
#navlist li
{
list-style-type: none;
background-color: #191970;
color: #daa520;
border: .2em solid #daa520;
font-weight: 600;
text-align: center;
padding: .3em;
margin-bottom: .1em;
}
#navlist li a
{
color: #daa520;
text-decoration: none;
display: block;
}
#navlist li a:hover
{
background-color: #faebd7;
color: #191970;
}
-->
</style>
</head>
<body>
<div id="navcontainer">
<ul id="navlist">
<li id="active"><a href="http://www.hao123.cn" id="current">首页</a></li>
<li><a href="http://www.hao123.com">介绍</a></li>
<li><a href="http://www.hao123.com">歌曲</a></li>
<li><a href="http://www.hao123.com">电影</a></li>
<li><a href="http://www.hao123.com">联系</a></li>
</ul>
</div>
</body>
</html>

------解决方案--------------------
HTML code

<HTML>
<HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<LINK href="css/applus.css" type=text/css rel=stylesheet>
<SCRIPT language=javascript src="js/menu.js"></SCRIPT>
<SCRIPT language=VBScript src="js/formenctype.vbs"></SCRIPT>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<style type="text/css">
<!--
a:link {
    font-size: 10pt;
    color: #122b6a;
    text-decoration: none;
}
a:visited {
    font-size: 10pt;
    color: #122b6a;
    text-decoration: none;
}

a:hover {
    font-size: 10pt;
    color: #FFFFFF;
    text-decoration: none;
}
body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}
.txt {
    font-size: 12px;
    font-weight: bold;
    }
-->
</style>
</HEAD>
<BODY class=menuBody style="OVERFLOW: hidden" noWrap >
<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
    <TD id=left_bar style="DISPLAY: none" vAlign=top>
      <TABLE height="100%" cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD vAlign=top><IMG src="img/leftframe1.jpg" width="28" height="190" style="CURSOR: hand" onclick=javascript:ChangeImg()></TD>
        </TR>
        <TR>
          <TD background="img/leftframe2.jpg" height="100%"></TD>
        </TR>
        <TR>
          <TD><IMG src="img/leftframe3.jpg"></TD>
        </TR>
      </TBODY>
     </TABLE>
    </TD>
    <TD id=right_part vAlign=top height="100%"> 
      <TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD colSpan=3>
            <TABLE cellSpacing=0 cellPadding=0 border=0 height="30">
              <TBODY>
              <TR>
                <TD><IMG src="img/mov1.jpg" width="140" height="30"><