Why do Twitter Bootstrap tables always have 100% width?

前端 未结 6 551
南方客
南方客 2021-01-29 23:47

Suppose this markup:

No mather how many cells I have, the table is always 100% w

6条回答
  •  终归单人心
    2021-01-30 00:15

    I was having the same issue, I made the table fixed and then specified my td width. If you have th you can do those as well.

    
    
    

I didn't have any luck with .table-nonfluid.

提交回复
热议问题