61,112
社区成员
发帖
与我相关
我的任务
分享
<!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 runat="server">
<title>无标题页</title>
<style type="text/css">
#nav li{float:left;}
#nav li a{ color:#000000; text-decoration:none; padding-top:4px; display:block; width:120px; height:22px; text-align:center; background-color:#ececec; margin-left:2px;}
#nav li a:hover{ background-color:#bbbbbb; color:#ffffff;}
</style>
</head>
<body>
<form id="form1" runat="server">
<div id="nav">
<ul>
<li><a href="Default.aspx">首 页</a></li>
<li><a href="Default.aspx">首 页</a></li>
<li><a href="Default.aspx">首 页</a></li>
<li><a href="Default.aspx">首 页</a></li>
<li><a href="Default.aspx">首 页</a></li>
<li><a href="Default.aspx">首 页</a></li>
<li><a href="Default.aspx">首 页</a></li>
</ul>
</div>
</form>
</body>
</html>
<!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 runat="server">
<title>无标题页</title>
<style type="text/css">
#nav li{float:left;}
#nav li a{ color:#000000; text-decoration:none; padding-top:4px; display:block; width:120px; height:22px; text-align:center; background-color:#ececec; margin-left:2px;}
#nav li a:hover{ background-color:#bbbbbb; color:#ffffff;}
</style>
</head>
<body>
<form id="form1" runat="server">
<table cellspacing="0" cellpadding="0" border="0" align="center" width="1000">
<tr>
<td>
<ul id="nav">
<li><a href="Default.aspx">首 页</a></li>
<li><a href="Default.aspx">首 页</a></li>
<li><a href="Default.aspx">首 页</a></li>
<li><a href="Default.aspx">首 页</a></li>
<li><a href="Default.aspx">首 页</a></li>
<li><a href="Default.aspx">首 页</a></li>
<li><a href="Default.aspx">首 页</a></li>
</ul>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>