How to make one span both columns in a two column table?

前端 未结 3 1772
花落未央
花落未央 2020-12-28 11:43

\"click

How can I create a table like the above example in HTML and CSS. I\'ve tried the fol

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-28 12:04

    s have a colspan attribute that determine how many columns it should span over. You example has 2 columns to span, so your cleaned up code would look like this:

    This will have 100% width by default

提交回复
热议问题