Double border-spacing with thead in Chrome and Safari

前端 未结 2 1534
慢半拍i
慢半拍i 2021-02-19 17:49

I have a table that uses thead and tbody. The table has border-spacing set, and in Chrome and Safari the space b

相关标签:
2条回答
  • 2021-02-19 18:21

    thead th {position: relative; top: 5px;} will do it

    0 讨论(0)
  • 2021-02-19 18:24

    That's not exactly "THE" solution, but you might want to take a look at here for a workaround which have worked with my specific case:

    How to remove extra border spacing between TBODY elements?

    0 讨论(0)
提交回复
热议问题