I am able to put a Facebook like button on my website, but how do I make it to be right-aligned within the div
/iframe
it is in?
I tried applying various CSS properties, but I could not get anything to move in the iframe.
iframe
is an inline element, you can use
text-align: right
for a div that contains that iframe, or float the iframe to the right, but just make sure to clear the float afterwards.
sample: http://jsfiddle.net/Mujj6/3/
and: http://jsfiddle.net/Mujj6/5/