标签:style http tar ext color get
<!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 type="text/css">
* {margin:0; padding:0; list-style:none;}
body{font-size:12px; margin:100px;}
#info{border:1px solid #BCFF1D; width:348px;
background:#D6FF8C url(/jscss/demoimg/201402/10background.gif) no-repeat left top;
float:left; }
#info ul{ margin:5px;width:338px}
#info li{ width:33%; height:40px; float:left;}
#info li a{ font-size:12px; font-weight:normal; line-height:35px;
display:block;color:#000; text-decoration:none; padding-left:40px;
background:url(/jscss/demoimg/201402/10menu.gif) no-repeat;}
#info li a:link,#info li a:visited{background-position:center top;}
#info li a:hover,#info li a:active{background-position:center bottom;}
</style>
</head>
<body>
<div id="info">
<ul>
<li></li>
<li><a href="#" target="_blank">找工作</a></li>
<li><a href="#" target="_blank">找房子</a></li>
<li><a href="#" target="_blank">二手房买卖</a></li>
<li><a href="#" target="_blank">带车求职</a></li>
<li><a href="#" target="_blank">拼车上下班</a></li>
<li><a href="#" target="_blank">二手汽车</a></li>
<li><a href="#" target="_blank">物品交换</a></li>
<li><a href="#" target="_blank">商品交换</a></li>
</ul>
</div>
</body>
</html>
标签:style http tar ext color get
原文地址:http://www.cnblogs.com/youtianxia/p/3805705.html