作者aidasit (NO.4)
看板Blog
标题[Blogger]关於Reaction Button问题
时间Tue Sep 15 12:27:52 2009
最近想把原本在痞客的网志搬到Blogger,所以开始修改Blogger版面
不过在用Reaction的功能时,却一直遇到选项无法和前面说明文字对齐的问题
不管怎麽设定,选项总是往上偏移,想请问版友要怎麽设定才会对齐呢?
网志(
http://aidasit.blogspot.com/2009/09/blog-post.html#more)
请看文章底部 "这篇文章让你觉得:"的选项
所设定的语法如下:
<span class='reaction-buttons'>
<b:if cond='data:blog.pageType == "item"'>
<b:if cond='data:top.showReactions'>
<table border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='reactions-label-cell' nowrap='nowrap' valign='top' width='1%'>
<span class='reactions-label'><data:top.reactionsLabel/>
</span>
</td>
<td>
<iframe allowtransparency='true' class='reactions-iframe'
expr:src='data:post.reactionsUrl' frameborder='0' name='reactions'
scrolling='no'/>
</td>
</tr>
</table>
</b:if>
</b:if>
</span>
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 219.85.29.36
1F:→ chhs:ie看起来正常 chrome偏上XD 09/15 12:33
2F:→ chhs:试试看<td><iframe的td加上css看看? 09/15 13:01
3F:→ chhs:例如<td style='padding:15px auto;'> 15px那边调整看看 09/15 13:02
4F:→ aidasit:把15改成3就行了,感谢chhs大 09/15 13:38
5F:→ chhs:可以顺便记一下css,padding是跟周围的距离,後面可放四个 09/15 14:04
6F:→ chhs:依序是上右下左(顺时钟) 用auto应该是让後面全部不变(猜) 09/15 14:05
7F:推 tPA:先推,我按钮的位置也怪怪的,晚点来调 09/15 22:12