HTML代码(博主)别针按钮

时间:2012-08-15 18:39:17

标签: html blogger blogspot

我想在我的照片上设置'pin it'按钮,就像这些http://freefashionorgasm.blogspot.com/和我的博客上的按钮(中心)一样,但是怎么样?请帮帮我,xo

1 个答案:

答案 0 :(得分:0)

添加

.post-body {
    text-align: center;
}

到您的模板。

或者,如果您不希望将帖子的文本居中为默认值,请添加

.center {
    text-align: center;
}

然后,在您的帖子中,使用class="center"包含div的喜欢按钮,如下所示:

<div class="center">
<iframe frameborder="0" scrolling="no" style="border: medium none; overflow: hidden; height: 21px; width: 100%; text-align: center;" src="http://www.facebook.com/plugins/like.php?href=http://freefashionorgasm.blogspot.com/2012/08/blog-post_9995.html&send=false&layout=button_count&show_faces=false&width=90&action=like&font=arial&colorscheme=light&height=21" allowtransparency="true">
</div>
相关问题