通用文字和图片链接样式

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

<ul class="f4">
<li><a href='http://hnkjb.kj110.cn' target='_blank'><img src='/uploads/flink/1009291449392698.jpg' width='88' height='31' border='0'></a></li>
</ul>
<ul class="f5">
<li><a href=' http://www.yizhiyuan668.com/trademark/index.html' target='_blank'>商标注册查询网</a> </li>
</ul>

 

.f4{/*友情链接(图片)专用*/
 width:100%;
 overflow:hidden;
 clear:both;
 margin:0;
 padding:0;
}
.f4 li{
 width:94px;
 height:37px;
 display:block;
 float:left;
 overflow:hidden;
 margin:10px 12px 2px 3px;
}
.f4 li a{
 width:88px;
 height:31px;
 overflow:hidden;
 float:left;
 border:3px solid #FFF;
}
.f4 li a:hover{
 border:3px solid #EEE;
}
.f5{/*友情链接(文字)专用*/
 width:100%;
 overflow:hidden;
 clear:both;
 margin:0;
 padding:0;
}
.f5 li{
 float:left;
 line-height:14px;
 padding:0px 8px 0px;
 white-space:nowrap;
}
.f5 li a{
 color:#000;
 float:left;
}