Gab
Gab

Reputation: 3

changing the position of facebook like button

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"></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.

Upvotes: 0

Views: 1765

Answers (1)

Lee Weiliang
Lee Weiliang

Reputation: 26

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.

Upvotes: 1

Related Questions