0

我有一个插件,其中显示了一些带有类似 facebook 按钮的新闻。我会在这个网站上改变它的宽度:(见右侧边栏) http://www.fanpage.it/moody-s-boccia-anche-la-germania-e-la-prima-volta-per-拉默克尔/

这是我的网站: http ://www.clouderize.it/michele/

对于我的按钮,我使用这个 url,但无论我设置什么宽度值,按钮尺寸都不会改变!我能怎么做 ?

<iframe 
        src="http://www.facebook.com/widgets/like.php?href=<? the_permalink(); ?>&layout=button_count&width=450&action=like&colorscheme=light&font&show_faces=false&height=64"
                            scrolling="no" frameborder="0" 
                            style="border:none;">
</iframe>
4

1 回答 1

1

试试这个

#fb-bar iframe{min-height:80px !important;}


<div id="fb-bar">
  <fb:like href="link"></fb:like>
</div>

或者

<div id="fb-bar">
<iframe 
        src="http://www.facebook.com/widgets/like.php?href=<? the_permalink(); ?>&layout=button_count&width=450&action=like&colorscheme=light&font&show_faces=false&height=64"
                            scrolling="no" frameborder="0" 
                            style="border:none;">
</iframe>
</div>
于 2012-07-28T23:43:56.243 回答