一个CSS效果

<style>
*
{ margin:0; padding:0; list-style:none; border:none;}
body
{ font-size:12px; font-family: Verdana; line-height:1.8; padding:30px;}
.c
{ clear:both;}

a:link,a:visited
{color:#FFF;text-decoration:none;}
a:hover,a:active
{color:#FFCC00;text-decoration:underline;}  

/*list box*/
.info
{background:#06518A; width:500px; padding:25px 10px 10px 10px;}
.info div
{border:2px solid #B48E47; background:url(bg.gif) right top repeat-y #01395C; padding:10px;}
.info h2
{ background:url(faq.gif) top center no-repeat; margin-top:-30px; position:absolute; width:480px; height:50px;}
.info span
{ text-align:right; display:block}
.info li
{ background:url(ic.gif) no-repeat center left; padding-left:10px; float:left; width:225px;}
</style>

 

< div  class ="info" >
  
< div >
    
< h2 > &nbsp; </ h2 >
    
< span >< href ="" >< img  src ="more.jpg"  alt ="more"   /></ a ></ span >
    
< ul >
      
< li >< href ="" > css test 001. </ a ></ li >
      
< li >< href ="" > css test 002. </ a ></ li >
      
< li >< href ="" > css test 003. </ a ></ li >
      
< li >< href ="" > css test 004. </ a ></ li >
      
< li >< href ="" > css test 005. </ a ></ li >
      
< li >< href ="" > css test 006. </ a ></ li >
      
< li >< href ="" > css test 001. </ a ></ li >
      
< li >< href ="" > css test 002. </ a ></ li >
      
< li >< href ="" > css test 003. </ a ></ li >
      
< li >< href ="" > css test 004. </ a ></ li >
      
< li >< href ="" > css test 005. </ a ></ li >
      
< li >< href ="" > css test 006. </ a ></ li >
    
</ ul >
    
< class ="c" ></ p >
  
</ div >
</ div >

 
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值