styler styler - 7 months ago 19
HTML Question

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

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?

Answer

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.