facebook like button - iframe widget off page

638 views Asked by At

facebook-box

Hi, my facebook popin iframe widget from the like button is going off page. is there a method to prevent this?

(the cut off portion on the right is the edge of my screen/browser)

1

There are 1 answers

1
DMCS On
  • Ensure your body tag has a fixed width to the actual width of the iframe (i.e. 520px)
  • Or ensure the element you place the like button inside of is set to the correct width (so Facebook knows how to position its popup better)