Why is the Bootstrap grid layout preferable to an HTML table?

后端 未结 9 804
生来不讨喜
生来不讨喜 2021-01-31 01:30

[Note: for those who may be confusing this question with \"why not use tables for HTML layout\", I am not asking that question. The question I\'m asking is why is a grid layout

9条回答
  •  日久生厌
    2021-01-31 02:15

    I use the Bootstrap grid for page layout, tables for tabular data.

    I think of the grid in Bootstrap, not as a grid in the developer sense, like a gridview control, but more in the design page-layout sense - as a grid to contain the page contents. And even though the Bootstrap grid could be also used to create a conventional grid containing tabular data, as deceze pointed out, this kind of grid is better suited for HTML tables - which are still acceptable to use in this scenario.

提交回复
热议问题