我想弄清楚如何修改谷歌加1按鈕的寬度...調整寬度的谷歌加1按鈕
在文件說,你可以設置一個寬度。
目前,當我檢查使用Firebug的元素...它說寬度設置爲90px,我希望設置爲70px ...是可能的嗎?
<!-- 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>
對我的作品!只要把'#___ plusone_0 {width:72px!important; ''在你的CSS中 – FLY