How do you make a 100% width table with the columns all equal width?

后端 未结 1 512
时光说笑
时光说笑 2021-01-11 15:59

I\'m trying to make a table that stretches 100% of the page (or whatever container it\'s in, depending on where I use it).

When I specify the width of the table to 1

相关标签:
1条回答
  • 2021-01-11 16:49

    I tried putting table-layout: fixed; into the table section of the CSS, and that appeared to work (even when I changed the number of columns). The source where I found that is here.

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