After embedding the Facebook like button using an iframe code on a website I am working on, I noticed that it only displays correctly on Chrome, while other browsers do not show it.
I attempted to use html5 and xfbml methods, but the button still did not appear on other browsers.
Even after adjusting the height and width properties in the CSS span of the html5 version, the button remained invisible. The settings showed height:0;
and width:0;
, while on Chrome it displayed as height:21;
and width:73;
Why is this happening?
Furthermore, I observed that when I input the Facebook page URL in the http://developers.facebook.com/docs/reference/plugins/like/ tool, the preview does not appear. The preview shows up for other pages.
Could this be causing the issue with it not displaying on other browsers?
Below is the iframe code:
<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FCarolina-Designer-Cabinets%2F400436533396747&send=false&layout=button_count&width=450&show_faces=false&font&colorscheme=light&action=like&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:21px;" allowTransparency="true"></iframe>
Here is the website: