Table td colspan not working for tr with ids

后端 未结 1 684
遥遥无期
遥遥无期 2021-02-07 06:25

I have a table structure similar to below:


  
    TEST
  



        
相关标签:
1条回答
  • 2021-02-07 06:59

    This is the problem with display: block.

    Please refer the below link http://thedesignspace.net/MT2archives/000376.html#.UUrg3FfCd1u

    If you are hiding tr, then use display: table-row instead of display: block to display that tr.

    If you are hiding td, then use display: table-cell instead of display: block to display that td.

    Use table-row, no block when styling a tr. Perfect!

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