Note that there are some explanatory texts on larger screens.

plurals
  1. POLike Button Width Not Working - Causes Browser Horizontal Scrolling
    primarykey
    data
    text
    <p>I have two instances of where the Like Button is not "listening" to the width I specify in the XFBML code.</p> <p>It LOOKS fine, but something is mysteriously causing the like button to be extra wide and force the browser to do horizontal page scrolling even though the entire like button is within the page.</p> <p>Example: [EXAMPLE REMOVED] - see the sidebar. I have to set the entire BODY to ignore overflow-x. If not, the like button causes a ton of extra pixels out there (but I can't see them with Firebug). I know this is the problem because if I remove it, then it looks fine.</p> <p>Example 2: <a href="http://i.imgur.com/Ve7os.png" rel="nofollow">Screenshot of Example</a> - In the header, I had to move the margin over so far to the left, and I wanted it to be in the top-right corner. Play with the CSS for fbheader in firebug and you'll see.</p> <p>The code I'm using there:</p> <pre><code>&lt;div class="fbheader"&gt; &lt;div id="fb-root"&gt;&lt;/div&gt; &lt;script&gt; window.fbAsyncInit = function() { FB.init({appId: 'your app id', status: true, cookie: true, xfbml: true}); }; (function() { var e = document.createElement('script'); e.async = true; e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js'; document.getElementById('fb-root').appendChild(e); }()); </code></pre> <p></p> <pre><code> &lt;fb:like href="http://www.example.com" send="true" width="300" show_faces="false" font="arial" colorscheme="dark"&gt;&lt;/fb:like&gt; &lt;/div&gt; &lt;!--// End fbheader --&gt; </code></pre> <p>Any ideas why this is happening?? Can anyone help? It seems like a bug with the XFBML.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload