开发者

changing the position of facebook like button

开发者 https://www.devze.com 2023-03-31 18:12 出处:网络
I just got the code for the new like button (the one that also includes the send button) and I am trying to set it to be in the center of the section it is installed in. However, it always stays on th

I just got the code for the new like button (the one that also includes the send button) and I am trying to set it to be in the center of the section it is installed in. However, it always stays on the left side of the section no matter what I do. I tried putting it inside many classes of , align, style or fixed position and none worked.

Here's the code:

<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=202863559776189&amp;xfbml=1"><开发者_如何学Go/script><fb:like href="http://www.facebook.com/myid" ref="myPageLocation" send="true" layout="button_count" width="450" show_faces="false" font="verdana"></fb:like>

I would greatly appreciate any suggestion that helps.


Its probably a CSS issue from what I understand.

I have not tested it out, but in concept you could use a wrapper around your fb:like tag. Setting styles to the fb:like tag most likely won't work out as fine.

0

精彩评论

暂无评论...
验证码 换一张
取 消