几类简单表格模型
代码如下:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>几类简单表格模型</title>
</head>
<style>
table{
margin: 0 auto;
width: 200px;
height: 100px;
border: black solid 1px;
border-collapse: collapse;
table-layout: fixed;
}
th,td{
border: solid 1px black;
}
.thick{
border: black 0.5em solid;
}
.two{
border: black 2px double;
border-collapse:collapse;
}
.four{
border: none;
border-collapse:separate;
border-spacing: 5px;
}
.four td{
border-color: cornflowerblue;
}
#five{
border: none;
border-collapse: collapse;
}
#five td{
border-left:none;
border-right:none;
}
#six{
padding: 10px;
border: solid 2px #444;
border-collapse: separate;
}
#six td{
background: blue;
}
#disapperr{
empty-cells:hide;
}
</style>
<body>
<p>第一:细线表格:</p>
<table>
<thead> </thead>
<tbody>
<tr