fb like按钮在所有ie版本的onload页面上创建一个白色背景 [英] fb like button creates a white background on page onload in all ie versions

查看:148
本文介绍了fb like按钮在所有ie版本的onload页面上创建一个白色背景的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我添加了Facebook喜欢的按钮< fb:like href =http://mysite.comclass =myFacebooklayout =button_count>< / fb:like> ;

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?

推荐答案

这是 iframe 加载其内容。

您可以在 iframe 上设置 visibility:hidden ,然后在加载后显示。

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

这篇关于fb like按钮在所有ie版本的onload页面上创建一个白色背景的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆