连接样式

<!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=utf-8" />
<title>无标题文档</title>
<style type="text/css">
a:{
	font-family:Arial, Helvetica, sans-serif;
    font-size:0.8em;
    text-align:center;
    margin:5px;
	line-height:30px;
}
a:link,a:visited{
	color:#a62020;
	padding:4px 10px 4px 10px;
	background-color:#ecd8db;
	text-decoration:none;
	border-top:1px solid #eee;
	border-left:1px solid #eee;
	border-bottom:1px solid #717171;
	border-right:1px solid #717171;
	background:url(a.gif) left bottom repeat-x;
}
a:hover{ 
   color:#821818;
   padding:5px 8px 3px 12px;
   background-color:#e2c4c9;
   border-top:1px solid #717171;
   border-left:1px solid #717171;
   border-bottom:1px solid #eee;
   border-right:1px solid #eee;
   cursor:crosshair;
background:url(b.gif) left bottom repeat-x;
}

</style>
</head>

<body>
<a href="#">Home</a>
<a href="#">Contact Us</a>
<a href="#">Web Dev</a>
<a href="#">Web Design</a>
<a href="#">Map</a>
</body>
</html>
posted on 2011-09-26 11:31    阅读(155)  评论(0编辑  收藏  举报