Borders not shown in Firefox with border-collapse on table, position: relative on tbody, or background-color on cell

后端 未结 7 2063
余生分开走
余生分开走 2020-11-30 01:58

Consider the following HTML:

<
7条回答
  •  广开言路
    2020-11-30 02:38

    Adding another solution for this (old) issue: This happened to me today, because I have a somewhat complicated table with multiple tbody. The only issue was actually that I had an opened tbody tag that was not closed. I deleted that tag and the borders re-appeared, without needing to change anything in my CSS. To clarify, my structure was something like:

    Col1Col2
    Val1Val2
    Val3Val4

提交回复
热议问题