how to break a line or space in between two rows of the html table

前端 未结 7 1422
长情又很酷
长情又很酷 2021-01-18 06:38

I need to give space or break between two rows, so that my page will looks good.

if you look my code i had given many empty rows and column to make a space between t

相关标签:
7条回答
  • 2021-01-18 07:09

    The solution worked for me is defining css properties at column level and defining colspan as the number of columns in the table

    Html -

    <tr class="border_bottom">
        <td colspan="6"></td>
    </tr>
    

    CSS -

    tr.border_bottom td {
        border-bottom: 1px solid #cccccc;
        color: #707070;
    }
    
    table{
        border-collapse: collapse;
    }
    
    0 讨论(0)
提交回复
热议问题