通过 width 和 height 属性定义表格的宽度和高度。
下面的例子将表格宽度设置为 100%,同时将 th 元素的高度设置为 50px:
table { width:100%; } th { height:50px; }
如需转载,请注明文章出处和来源网址:http://www.divcss5.com/css-tool/t51671.shtml
通过 width 和 height 属性定义表格的宽度和高度。
下面的例子将表格宽度设置为 100%,同时将 th 元素的高度设置为 50px:
table { width:100%; } th { height:50px; }
如需转载,请注明文章出处和来源网址:http://www.divcss5.com/css-tool/t51671.shtml