[Blogger] 關於Reaction Button問題

看板Blog作者 (NO.4)時間16年前 (2009/09/15 12:27), 編輯推噓1(106)
留言7則, 3人參與, 最新討論串1/1
最近想把原本在痞客的網誌搬到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

09/15 12:33, , 1F
ie看起來正常 chrome偏上XD
09/15 12:33, 1F

09/15 13:01, , 2F
試試看<td><iframe的td加上css看看?
09/15 13:01, 2F

09/15 13:02, , 3F
例如<td style='padding:15px auto;'> 15px那邊調整看看
09/15 13:02, 3F

09/15 13:38, , 4F
把15改成3就行了,感謝chhs大
09/15 13:38, 4F

09/15 14:04, , 5F
可以順便記一下css,padding是跟周圍的距離,後面可放四個
09/15 14:04, 5F

09/15 14:05, , 6F
依序是上右下左(順時鐘) 用auto應該是讓後面全部不變(猜)
09/15 14:05, 6F

09/15 22:12, , 7F
先推,我按鈕的位置也怪怪的,晚點來調
09/15 22:12, 7F
文章代碼(AID): #1AhnV9if (Blog)