网页教学网div+css标准网页菜单代码
2014-09-12来源:

<!doctype html public -//w3c//dtd xhtml 1.0 transitional//en>

<html xmlns=http://www.w3.org/1999/xhtml>

<head>

<meta http-equiv=content-type content=text/html; charset=gb2312 />

<title>网页教学网div+css菜单一</title>

<style type=text/css>

<!--

#navlist li

{

display: inline;

list-style-type: none;

padding-right: 20px;

}

-->

</style>

</head>

<body>

<div id=navcontainer>

<ul id=navlist>

<li id=active><a href=# id=current>item one</a></li>

<li><a href=#>item two</a></li>

<li><a href=#>item three</a></li>

<li><a href=#>item four</a></li>

<li><a href=#>item five</a></li>

</ul>

</div>

</body>

</html>

更多信息请查看IT技术专栏

推荐信息
Baidu
map