html添加边框代码,html如何给table表单加边框
html添加边框代码,html如何给table表单加边框详细介绍
table,table tr th, table tr td { border:1px solid #ccc; } table{ width: 400px; border-collapse: collapse; }
| 隐藏右边框 | 隐藏左边框 |
| 隐藏上边框 | 隐藏下边框 |
| 显示右边框 | 显示左边框 | 显示上边框 | 显示下边框 |
| 右边框显示细虚线 | 下边框显示粗虚线 | 上边框显示两条线 | 左边框显示点 |