Bootstrap table won't fill container width

前端 未结 8 1112
春和景丽
春和景丽 2020-12-24 04:43

I\'m writing a web site using bootstrap (3.3.2) with a simple table on one of the pages. I just have a simple header panel in one container, and another content container w

8条回答
  •  失恋的感觉
    2020-12-24 04:58

    The accepted answer is incorrect. Per the docs

    Create responsive tables by wrapping any .table in .table-responsive to make them scroll horizontally on small devices (under 768px). When viewing on anything larger than 768px wide, you will not see any difference in these tables.

    Then goes on to show proper usage

    ...

    You should also have the .table class on the

    http://getbootstrap.com/css/#tables-responsive

    提交回复
    热议问题