作者a892245 ( )
看板Blog
标题Re: [问题] 让计数器跟RSS图案 放在同一行
时间Mon Aug 4 16:11:45 2008
※ 引述《even54 (学习英文)》之铭言:
我试过了 ,还是一样
现在的语法长这样
<p><a href="
http://feeds.feedburner.com/even54">
<img src="
http://feeds.feedburner.com/~fc/even54?bg=FF9966&fg=444444&
anim=0&label=listeners" height="26" width="88" style="border:0" alt=""
/></a>
<a href="
http://feeds.feedburner.com/even54" title="RSS" rel="alternate"
type="application/rss+xml"><img src="
http://www.feedburner.com/fb/images/pub/
feed-icon32x32.png" alt="" style="border:0"/></a>
</p>
是哪里少了什麽吗?
===================================================
照道理说应该这样子就可以了
不过我後来发现你的css里面有一个
.box-text a {
display:block ;
width:97% ;
border-bottom:1px dashed #9dd0e2 ;
padding: 4px 3px 3px 3px ;
}
黄色那句是问题所在
因为她会让侧栏的每个超连结都满行
但我不建议直接删去
这样滑鼠移到连结上时出现的蓝色背景会不好看
因为你的自订栏位没有用到<li></li> (项目符号)
所以试试看把.box-text a{} 改成 .box-text li{}
括号里的内容照旧
这样应该可以让影响范围限制在侧栏有被<li></li>包围的超连结就好
--
http://lingshu1005.blogspot.com/
something about my life
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 218.173.168.99
1F:推 even54:1谢谢你跟我说,可是我好实在不懂 display:block在我原来 08/04 23:54
2F:→ even54:语法中的哪里呢 08/04 23:55
3F:推 even54:我找到了 08/04 23:59