指向菜单边上显示三角形箭头

来源:互联网  作者:NC_Editor
摘要:!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"h……

<!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>
<title>www.zishu.cn</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
/*zishu.cn*/
*{ margin:0; padding:0; font-size:12px; font-family:Verdana, "宋体", Arial; line-height:1.8; list-style:none;}
#nav{ margin:50px; border:1px dashed #FF3300; background:#FFFFCC; padding:50px;}
a:link,a:visited{color:#FF6600;text-decoration: none;}
a:hover,a:active{ color:#FF0000;}
#nav a span{overflow:hidden; border-top:6px solid #FFFFCC;border-left:6px solid #FFFFCC;border-bottom:6px solid #FFFFCC; height:0px; width:0px; margin:2px 2px 0 -10px; position:absolute}
#nav a:hover span{background:#CC3300;border-top:6px solid #FFFFCC;border-left:6px solid #FF3300;border-bottom:6px solid #FFFFCC;overflow:hidden; float:left;}
</style>
</head>
<body>
<div id="nav">
<h1>应用的一个实例</h1>
  <ul>

<li><a href="http://www.zishu.cn" target="_blank"><span></span>子鼠首页</a></li>

<li><a href="http://www.zishu.cn" target="_blank"><span></span>给我留言</a></li>

<li><a href="http://www.zishu.cn" target="_blank"><span></span>友情链接</a></li>

<li><a href="http://www.zishu.cn" target="_blank"><span></span>我的日志</a></li>

<li><a href="http://www.zishu.cn" target="_blank"><span></span>音乐英语</a></li>
  </ul>
</div>
</body>
</html>

【相关文章】好搜一下
关于IE6中显示PNG图片不透明问题的解决方案

关于IE6中显示PNG图片不透明问题的解决方

下面主要收集整理了两种让IE6显示透明PNG图片的方法,供大家在实际应用的灵活参…