DIV CSS制作的个性水平导航菜单实例

不要沮丧,不必惊慌,做努力爬的蜗牛或坚持飞的笨鸟,我们试着长大,一路跌跌撞撞,然后遍体鳞伤。坚持着,总有一天,你会站在最亮的地方,活成自己曾经渴望的模样。

先看下效果:


CSS样式代码:

以下为引用的内容:
#pointermenu{
border-top: 7px solid black; /*optional border across top*/
margin: 0;
padding: 0;
}
#pointermenu ul{
margin: 0;
margin-left: 15px; /*menu offset from left edge of window*/
float: left;
padding-left: 10px;
font: 12px 宋体;
background-color: black;
background: black url(../images/leftround.gif) bottom left no-repeat; /*optional left round corner*/
}
* html #pointermenu ul{ /*IE6 only rule. Decrease ul left margin and add 1em bottom margin*/
margin-bottom: 1em;
margin-left: 7px; /*menu offset from left edge of window in IE*/
}
#pointermenu ul li{
display: inline;
}
#pointermenu ul li a{
float: left;
color: white;
font-weight: ;
padding: 2px 11px 7px 7px;
text-decoration: none;
background: url(../images/bbbbb.gif) bottom center no-repeat;
}
#pointermenu ul li a:visited{
color: white;
}
#pointermenu ul li a:hover, #pointermenu ul li a#selected{ /*hover and selected link*/
color: white;
background-color: darkred;
}
#pointermenu ul li a#rightcorner{
padding-right: 0;
padding-left: 8px;
background: url(../images/rightround.gif) bottom right no-repeat; /*optional right round corner*/
}

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" lang="gb2312" xml:lang="gb2312">
<head>
<title>站酷CSS代码演示</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" type="text/css" rel="nofollow noopener noreferrer" href="css/css.css" _fcksavedurl=""css/css.css"" _fcksavedurl=""css/css.css"" />
</head>
<body>
<div id="pointermenu">
<ul>
<li><a rel="nofollow noopener noreferrer" href="#">主 页</a></li>
<li><a rel="nofollow noopener noreferrer" href="#">自定菜单</a></li>
<li><a rel="nofollow noopener noreferrer" href="#" id="selected">自定菜单</a></li>
<li><a rel="nofollow noopener noreferrer" href="#">自定菜单</a></li>
<li><a rel="nofollow noopener noreferrer" href="#">自定菜单</a></li>
<li><a rel="nofollow noopener noreferrer" href="#">自定菜单</a></li>
<li><a rel="nofollow noopener noreferrer" href="#">自定菜单</a></li>
<li><a rel="nofollow noopener noreferrer" href="#" id="rightcorner"> </a></li>
</ul>
</div>
<br style="clear: left" />
</body>
</html>
最后提供打包下载:https://www.haodaima.com/files/soft/jb51nav1107.rar

以上就是DIV CSS制作的个性水平导航菜单实例。企业家只有两只眼睛不行,必须要有笫三只眼睛。要用一只眼睛盯住内部管理,最大限度地调动员工积极性;另一只眼睛盯住市场变化,策划创新行为;第三只眼睛用来盯住国家宏观调控政策,以便抓住机遇,超前发展。更多关于DIV CSS制作的个性水平导航菜单实例请关注haodaima.com其它相关文章!

标签: DIV CSS