【发布时间】:2011-09-22 14:39:28
【问题描述】:
我正在研究如何修改 Google 加 1 按钮的宽度...
在文档中说您可以设置宽度。
目前,当我使用 Firebug 检查元素时...它说宽度设置为 90 像素,我想将其设置为 70 像素...这可能吗?
<!-- Place this tag where you want the +1 button to render -->
<g:plusone size="medium"></g:plusone>
<!-- Place this render call where appropriate -->
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
【问题讨论】:
标签: google-plus-one