Facebook 发送/点赞按钮 CSS 重叠

发布于 2024-11-08 14:53:49 字数 130 浏览 6 评论 0原文

我有以下问题。我已将 facebook 发送/点赞按钮集成到我的网站中,当我单击发送时,它与底层 div 重叠。

因为我真的不是 CSS 专家,所以我希望你能为我指明一个方向,让我可以找到解决这个问题的方法。

谢谢

I have following problem. I've integrated facebook send/like buttons to my website and when i click send, it overlaps with the underlying div.

Since I'm really no CSS guru, i would like that you point me in to a direction where i can find a solution for this problem.

Thank you

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

Smile简单爱 2024-11-15 14:53:49

问题是带有 class box-center & 的 div带有类 box 的 div 具有 css 属性 overflow: hide;,因此加载时比 div 更大的任何内容都不会显示,

但如果删除它,问题是上面的盒子会乱七八糟。但这可以通过添加(就在关闭 div 之前)来解决:

<div class="clear"></div>

并在 css

.clear {clear:both}

编辑中: 这应该会给你一个更好的图片(以获得更大的预览 -> https://i.sstatic.net/nvsJW.png)

“在此输入图像描述”

the problem is that the div with class box-center & div with class box have the css property overflow: hidden; so anything that's bigger then the div when is loaded will not be shown

but the problem if you remove that is that the box above will be messed up. But that can be resolved by adding (just before closing the div):

<div class="clear"></div>

and in css

.clear {clear:both}

edit: This should give you a better picture (for a bigger preview -> https://i.sstatic.net/nvsJW.png)

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文