2008-05-20
非常简单的导航条 DIV + CSS
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
Home page
* {
padding: 0;
margin: 0;
font-size: 12px;
line-height: 1.7;
font-family: Verdana, "宋体", Arial;
list-style: none;
}
/*简单定义了一下全局*/
a:link,a:visited {
background: #FFF3C6 url(jaian.gif) no-repeat 15px 7px;
padding-left: 23px;
color: #000000;
text-decoration: none;
}
a:hover,a:active {
color: #000;
text-decoration: none;
background-color: #FED762;
}
a {
display: block;
border-bottom: 1px solid #fff;
padding-left: 10px;
width: 127px;
}
/*定义链接的样式*/
ul {
background: #fff;
width: 150px;
border: 1px solid #FF6600;
margin: 0px 20px -1px 20px;
padding: 1px;
}
/*定义了UL*/
span {
display: block;
background: #FF9900 url(jai.gif) no-repeat 5px 5px;
padding-left: 13px;
}
pageEncoding="UTF-8"%>
Home page
* {
padding: 0;
margin: 0;
font-size: 12px;
line-height: 1.7;
font-family: Verdana, "宋体", Arial;
list-style: none;
}
/*简单定义了一下全局*/
a:link,a:visited {
background: #FFF3C6 url(jaian.gif) no-repeat 15px 7px;
padding-left: 23px;
color: #000000;
text-decoration: none;
}
a:hover,a:active {
color: #000;
text-decoration: none;
background-color: #FED762;
}
a {
display: block;
border-bottom: 1px solid #fff;
padding-left: 10px;
width: 127px;
}
/*定义链接的样式*/
ul {
background: #fff;
width: 150px;
border: 1px solid #FF6600;
margin: 0px 20px -1px 20px;
padding: 1px;
}
/*定义了UL*/
span {
display: block;
background: #FF9900 url(jai.gif) no-repeat 5px 5px;
padding-left: 13px;
}
- 23:15
- 浏览 (34)
- 评论 (0)
- 分类: menu navigation
- 相关推荐
发表评论
- 浏览: 9192 次

- 详细资料
搜索本博客
我的相册
Screenshot-2.png
共 3 张
共 3 张
最近加入圈子
最新评论
-
javascript ===
那我也很无知,受教了
-- by lengyubing -
基于struts2+spring+hiber ...
最近正在学习这方面的知识,能否提供一份源代码谢谢哦!哈 etao528@163. ...
-- by etao528 -
基于struts2+spring+hiber ...
有源码吗?谢谢!正在学习中
-- by etao528 -
基于struts2+spring+hiber ...
初学者,照猫画虎,一直没有成功
-- by xianhui -
30个开源的AS3工程
很喜欢Flex...英文不是很好..密密麻麻的....作者这么辛苦..顶下...
-- by lf1815






评论排行榜