1.表格边框
table,tr,th,td{
border:1px solid #666;
}
![](https://images2015.cnblogs.com/blog/635214/201703/635214-20170303101153391-792564589.png)
2.折叠边框
table{
/*合并边框*/
border-collapse : collapse;
}
![](https://images2015.cnblogs.com/blog/635214/201703/635214-20170303101205298-859805786.png)
3.表格宽高
table{
600px;
height:400px;
}
4.表格文本对齐
table,tr,th,td{
text-align:center;
}
5.表格内边距
padding
6.表格颜色
background-color: