网络编程 | 站长之家 | 网页制作 | 图形图象 | 操作系统 | 冲浪宝典 | 软件教学 | 网络办公 | 邮件系统 | 网络安全 | 认证考试 | 系统进程
Firefox | IE | Maxthon | 迅雷 | 电驴 | BitComet | FlashGet | QQ | QQ空间 | Vista | 输入法 | Ghost | Word | Excel | wps | Powerpoint
asp | .net | php | jsp | Sql | c# | Ajax | xml | Dreamweaver | FrontPages | Javascript | css | photoshop | fireworks | Flash | Cad | Discuz!
当前位置 > 网站建设学院 > 网页制作 > 网页特效
网页制作:Dreamweaver教程,FrontPages教程,Javascript教程,HTML教程,CSS教程,心得技巧,DHTML教程,网页特效,Discuz!论坛
本月文章推荐
.字符在状态栏中缓慢移动.
.仿windows选项卡效果网页特效代码.
.页面自动滚屏效果.
.一个全面的对输入框内容进行检测.
.一个循环的跳出警告,最后会自动.
.把HTML代码转换成javascript代码.
.一张图片实现的超酷效果网站导航.
.你是不是对每次弹出的Alert很反感.
.在javascript中加入Html代码的特.
.总在右上角旋转显示的字符.
.够cool的弹出说明页[网页特效].
.又一种图片的幻灯片效果(综合各种.
.CSS制作3D风格的网页按钮特效代码.
.用程序来记录鼠标在页面中的滑动.
.网页特效代码:可以自由拖动菜单.
.自已选择背景颜色(输入代码变代背.
.禁止别人用frame引用你的页面.
.二级下拉菜单[网页特效].
.网页教学网DIV+CSS标准网页菜单代.
.几种有立体感谢的表格的作法.

用CSS实现的一张图完成的导航条

发表日期:2007-12-19


<!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>网页特效代码|/|---用CSS实现的一张图完成的导航条</title>
<style>
ul,li{ list-style:none; float:left;}
body{ font-size:12px; line-height:1.6; font-family:Verdana, "宋体", Arial; text-align:center;}
#info li{ margin-left:4px; margin-top:15px;}
#info a {display:block;text-align:center; padding-left:15px;
padding-top:2px;padding-bottom:1px;background-image:
url(http://www.jscode.cn/Uploadfile/200682494749491.GIF);
background-repeat: no-repeat;color: #000; width:47px; cursor:hand; text-decoration: none;}
#job a:link,#job a:visited{background-position: -62px 0px;}
#eve a:link,#eve a:visited{background-position: -124px 0px;}
#oth a:link,#oth a:visited{background-position: -186px 0px;}
#car a:hover ,#car a:active {background-position: 0px -22px; color:#fff;}
#job a:hover ,#car a:active {background-position: -62px -22px; color:#fff;}
#eve a:hover ,#car a:active {background-position: -124px -22px; color:#fff;}
#oth a:hover ,#car a:active {background-position: -186px -22px; color:#fff;}
</style>
</head>

<body>
<div id="info">
 <ul>
  <li id="car"><a href="/" target="_blank"><span>
 游 戏</span></a></li>
  <li id="job"><a href="/" target="_blank"><span>
 娱 乐</span></a></li>
  <li id="eve"><a href="/" target="_blank"><span>
 菜 单</span></a></li>
  <li id="oth"><a href="/" target="_blank"><span>
 好 玩</span></a></li>  
 </ul>
</div>
<div style="clear:both">转载请注明出处 子鼠 <a href="http://www.zishu.cn" target="_blank">
 http://www.zishu.cn</a> 作者:子鼠</div>
</body>
</html>

上一篇:CSS制作3D风格的网页按钮特效代码 人气:1255
下一篇:特效代码:用CSS实现的一个字符显示效果 人气:677
浏览全部CSS的内容 Dreamweaver插件下载 网页广告代码 祝你圣诞节快乐 2009年新年快乐