取消THEAD和TBODY CSS的映射

hi i got this issue when i try adding a new tr into thead. The problem is it automatically mapping with tr at tbody below. How can i fix it? thank for responding me enter image description here

评论
  • 小喵喵YY
    小喵喵YY 回复

    您好Phong Bui,我听不懂您的问题,但是尝试从W3 Schools尝试这个示例

      <table>
        <thead>
            <tr>
                <th>Month</th>
                <th>Savings</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>January</td>
                <td>$100</td>
            </tr>
            <tr>
                <td>February</td>
                <td>$80</td>
            </tr>
        </tbody>
        <tfoot>
            <tr>
                <td>Sum</td>
                <td>$180</td>
            </tr>
        </tfoot>
    </table>
    

    I hope you find what you're looking for in here. Be sure to check out this website for more information https://www.w3schools.com/tags/tag_thead.asp.