Rufinus Rufinus - 1 year ago 52
CSS Question

Facebook Like Widget on Fan page, Comment area out of visible area

When using the like or send widget on a Fan Page (no mater if you use iframe tag or fbml for it) the overlay for commenting is positioned always to the right. see for example.

I cant find a way to get the widget to respect the 520px boundary of the facebook tab.
see for an example.
Anyone an idea how to solve this ?


Answer Source

Try adding this to your css:

.fb_edge_comment_widget {
    margin-left: -350px;

This will move comment box to the left, but the little arrow pointing to the button will move too (which you could try to cover with another element). It will only work if you're using XFBML, not an iframe.

Here's an example.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download