为什么Firefox在某些HTML表格中缺少边界 [英] Why is Firefox missing the border on some HTML tables

查看:168
本文介绍了为什么Firefox在某些HTML表格中缺少边界的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Firefox 3.5.7,并且在多个HTML表格中使用了相同的CSS,但是有一些示例没有显示部分边框。

对我来说毫无意义的是,在另一个HTML表格的相同页面上的相同CSS工作正常。此外,Internet Explorer中的相同页面从边界角度来看看效果不错。



这是一个带有示例的图片,您可以在这种情况下看到第一个表格的底部缺少一个边框。





有人知道为什么会发生这种情况吗?$ b $也许你已经放大/缩小了一点点。当您执行 Ctrl + Scrollwheel时,可能会意外或明知地发生这种情况。也许它没有完全重置为缩放级别零。这个错误的渲染行为在一些网站上也是可以识别的,也就是在这里。为了解决这个问题,只需点击 Ctrl + 0 或做 View > 缩放 重置可将缩放级别重置为默认值。

这是Firefox / Gecko错误 410959 。这会影响 border-collapse:collapse 的表格。它从2008年开始并没有真正的进展,所以你可能需要找到一个解决方法。一种方法是使用 border-collapse:分开,并在每个单元格的基础上边框边框。


I am using Firefox 3.5.7 and I have the same CSS used in multiple HTML tables, but there are some examples where parts of the borders are not shown.

What makes no sense to me is that the same CSS on the same page for another HTML table works fine. Also, the same page in Internet Explorer looks fine from a border point of view.

Here is an image with an example, as you can see in this case the bottom of the first table is missing a border.

Does anyone have a clue why this would happen here?

解决方案

Maybe you've zoomed in/out a bit. This can happen either accidently or knowingly when you do Ctrl+Scrollwheel. Maybe it isn't completely resetted to zoom level zero. This mis-rendering behaviour is then recognizeable at some websites, also here at SO.

To fix this, just hit Ctrl+0 or do View > Zoom > Reset to reset the zoom level to default.

This is Firefox/Gecko bug 410959. This affects tables with border-collapse:collapse. It's from 2008 and there's no real progress on it, so you'll probably need to find a workaround. One way is using border-collapse:separate and fiddling with borders on a per-cell basis.

这篇关于为什么Firefox在某些HTML表格中缺少边界的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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