How do I completely fill a 100% with in HTML?
后端 未结 2 603
自闭症患者
自闭症患者 2021-02-18 17:10

I have some HTML that inject with Javascript into a web page. The final HTML I inject looks like:

相关标签:
2条回答
  • 2021-02-18 17:58

    Try adding:

    border-collapse: collapse;
    

    To your table. Or try setting:

    display: block;
    

    or

    display: table
    

    on the tbody element.

    0 讨论(0)
  • 2021-02-18 18:06

    try adding the following css to your table:

    border-collapse: collapse;
    
    0 讨论(0)
提交回复
热议问题