Color entire rows in a table without a border

前端 未结 4 1542
南方客
南方客 2021-01-18 05:09

is it possible to color entire rows in an html table without being a \"break\" or gap for the border?

So far I have this table:

4条回答
  •  情话喂你
    2021-01-18 06:02

    Yeap, you can use one of two ways: either cellspacing or border-collapse:

    table {
     border-collapse:collapse;
    }
    

    ..or:

Have fun!

提交回复
热议问题