styler styler - 2 years ago 76
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="" 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 Source

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.

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