看板 Blog 關於我們 聯絡資訊
最近想把原本在痞客的網誌搬到Blogger,所以開始修改Blogger版面 不過在用Reaction的功能時,卻一直遇到選項無法和前面說明文字對齊的問題 不管怎麼設定,選項總是往上偏移,想請問版友要怎麼設定才會對齊呢? 網誌(http://aidasit.blogspot.com/2009/09/blog-post.html#more) 請看文章底部 "這篇文章讓你覺得:"的選項 所設定的語法如下: <span class='reaction-buttons'> <b:if cond='data:blog.pageType == &quot;item&quot;'> <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
chhs:ie看起來正常 chrome偏上XD 09/15 12:33
chhs:試試看<td><iframe的td加上css看看? 09/15 13:01
chhs:例如<td style='padding:15px auto;'> 15px那邊調整看看 09/15 13:02
aidasit:把15改成3就行了,感謝chhs大 09/15 13:38
chhs:可以順便記一下css,padding是跟周圍的距離,後面可放四個 09/15 14:04
chhs:依序是上右下左(順時鐘) 用auto應該是讓後面全部不變(猜) 09/15 14:05
tPA:先推,我按鈕的位置也怪怪的,晚點來調 09/15 22:12