Any way to synchronize table column widths with HTML + CSS?

前端 未结 9 1329
花落未央
花落未央 2020-12-24 05:05

I have a number of tables with the same columns and it would look a lot nicer if they shared the same column widths. Is such a thing possible? Putting them in the same tab

9条回答
  •  南笙
    南笙 (楼主)
    2020-12-24 05:59

    I'm almost shocked that no one has suggested column groups! With it you can give a column a specific class, width, and other helpful properties. And since it's HTML 4.01 it's supported by all browsers that support the doctype.

提交回复
热议问题