纯CSS实现的竖向导航菜单
作者:bea
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>纯CSS竖向导航菜单</title> <meta http-equiv="content-type" content="text/html;charset=gb2312"> <style type="text/css"> body { font-family: Verdana, Arial
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>纯CSS竖向导航菜单</title>
<meta http-equiv="content-type" content="text/html;charset=gb2312">
<style type="text/css">
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
margin: 0;
font-size: 80%;
font-weight: bold;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
#menu3 {
width: 160px;
border: 1px solid #ccc;
margin: 10px;
}
#menu3 li a {
height: 32px;
voice-family: ""}"";
voice-family: inherit;
height: 24px;
text-decoration: none;
}
#menu3 li a:link, #menu3 li a:visited {
color: #888;
display: block;
background: url(/upload/2010-3/20100303231545473.gif);
padding: 8px 0 0 30px;
}
#menu3 li a:hover, #menu3 li a:active {
color: #ffffff;
background: url(/upload/2010-3/20100303231637519.png) 0 -32px;
padding: 8px 0 0 30px;
}
</style>
</head>
<body>
<div id="menu3">
<ul>
<li><a href="#" title=""></a></li>
<li><a href="#" title="About">CSS特效</a></li>
<li><a href="#" title="Portfolio">源码下载</a></li>
<li><a href="#" title="Store">广告联系</a></li>
</ul>
</div>
</body>
</html>
[Ctrl+A 全选 注:
如需引入外部Js需刷新才能执行]
有用 | 无用
猜你喜欢
您可能感兴趣的文章:
- jquery 打开窗口返回值实现代码
- jQuery入门知识简介
- jQuery 获取URL参数的插件
- 老鱼 浅谈javascript面向对象编程
- javascript实现的像java、c#之类的sleep暂停的函数代码
- ExtJs之带图片的下拉列表框插件
- JavaScript replace(rgExp,fn)正则替换的用法
- JavaScript isPrototypeOf和hasOwnProperty使用区别
- AppBaseJs 类库 网上常用的javascript函数及其他js类库写的
- JavaScript类和继承 constructor属性
- Js 网页上反复显示隐藏效果的文本
- 爆炸式的JS圆形浮动菜单特效代码
- JS 日历控件(蓝色)
- js 钻石棋网页游戏代码
- JavaScript 拖拽翻页效果代码
- Js 竖直伸缩菜单(百度)
- CSS 网页顶部固定工具栏拖动无闪烁实现代码
- CSS 图片横向排列实现代码
- select下拉选择框美化实现代码(js+css+图片)