【发布时间】:2015-04-27 17:07:47
【问题描述】:
我在我的网站中加入了 facebook like 按钮,我使用了i frame
这是我的 Facebook 按钮代码
<iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fplugins%2F&width&layout=box_count&action=like&show_faces=true&share=true&height=65" scrolling="no" frameborder="0" style="border:none;overflow:hidden;height:65px;" allowTransparency="true"></iframe>
这种风格很好,它的正方形和修复在我的页面中我尝试应用twitter和google+在这里我没有得到与facebook一样的风格
我需要像 facebook 一样应用相同的样式
<iframe src="//platform.twitter.com/widgets/follow_button.html?screen_name=twitterapi"
style="width: 300px; height: 20px;"
allowtransparency="true"
frameborder="0"
scrolling="no">
</iframe>
<iframe src="https://plusone.google.com/_/+1/fastbutton?bsv&size=medium&hl=en-US&url=http://test.com/&parent=http://test.com/" allowtransparency="true" frameborder="0" scrolling="no" style="border:none;overflow:hidden;height:65px;" title="+1"></iframe>
【问题讨论】:
标签: css facebook facebook-graph-api twitter