FireFox 16px DIV 之间的间隙问题

发布于 2024-09-07 00:40:51 字数 251 浏览 2 评论 0原文

我的网站在 Chrome 中正确呈现,但在 FF 中,div 之间显示 16px 间隙。 这里可能出了什么问题?

应用程序链接:http://simateriaisportal.appspot.com (Conta -> 仪表板)。

我之前发布的代码工作正常,当内容(仪表板)动态填充时出现问题

My website renders correctly in Chrome but it shows a 16px gap, between divs, in FF.
What could be wrong here?

Link to Application: http://simateriaisportal.appspot.com
(Conta -> Dashboard).

The code i posted before was working correctly, the problem comes when content (dashboard) is filled dynamicaly

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

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

发布评论

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

评论(4

把回忆走一遍 2024-09-14 00:40:51

您是否尝试过使用 firebug 来找出填充的来源?

Have you tried to use firebug to find out where the padding is coming from?

万劫不复 2024-09-14 00:40:51

您在此处发布的内容在 Chrome 和 Firefox 中呈现类似的效果。它指向 YUI Base 或 YUI Reset(或此代码之外的其他内容)。

此外,Firefox 渲染在顶部和底部有额外的空间。白色行的底部和表格本身的顶部。所以,这不仅仅是一个 div 的问题。

What you've posted here renders similarly in Chrome and Firefox. That points to YUI Base or YUI Reset (or something else outside of this code).

Also, the Firefox render has extra space at the top & bottom of the white rows and at the top of the table itself. So, it's not just about a div.

凯凯我们等你回来 2024-09-14 00:40:51

真的不知道在你的链接中寻找什么,但是,你的div“panelDB”有5px的顶部和底部的填充,并且你里面的表格有10px的顶部和底部的边距......似乎就是你的正在谈论...删除两个就可以了:)

Don't really know what to look for in your link, but, you div "panelDB" has a padding of 5px top and bottom, and you table inside it has a margin of 10px top and bottom... seems to be what you're talking about... remove does two and your good to go :)

故人如初 2024-09-14 00:40:51

看起来你已经成功了;您应该发布解决方案并将其标记为答案。也许我们都可以学到一些东西。

Looks like you got it working; you should post the solution and mark it as the answer. Maybe we can all learn something.

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