Setting a div's height in HTML with CSS

前端 未结 14 964
无人共我
无人共我 2020-12-05 09:36

I am trying to lay out a table-like page with two columns. I want the rightmost column to dock to the right of the page, and this column should have a distinct background c

14条回答
  •  余生分开走
    2020-12-05 10:20

    Here's an example of equal-height columns - Equal Height Columns - revisited

    You can also check out the idea of "Faux Columns" as well - Faux Columns

    Don't go the table route. If it's not tabular data, don't treat it as such. It's bad for accessibility and flexibility.

提交回复
热议问题