Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

fb like button creates a white background on page onload in all ie versions

Tags:

html

css

facebook

I have added the facebook like button <fb:like href="http://mysite.com" class="myFacebook" layout="button_count" ></fb:like>.

When my page loads in any ie there is a noticeable white background before the like button appears, is there any way of removing this?

like image 549
styler Avatar asked Jun 22 '11 10:06

styler


1 Answers

This is the iframe loading its content.

You could set visibility: hidden on the iframe, and then show it once it has loaded to avoid this.

like image 191
alex Avatar answered Sep 24 '22 15:09

alex