Why is Firefox missing the border on some HTML tables

前端 未结 9 1737
我在风中等你
我在风中等你 2021-02-04 00:05

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 sens

9条回答
  •  梦谈多话
    2021-02-04 00:36

    This was caused by the table (with a missing bottom-border) to be inside a div...The border apparently didn't get calculated in the table height, so the border was there but wasn't shown.

    Giving the surrounding div a margin-bottom from 1px solved the problem.

提交回复
热议问题