1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
<
html
>
<
head
>
<
style
>
div.table{
font-size:0;
width:400px;
border-top-style: solid;
border-top-width: 1px;
border-left-style: solid;
border-left-width: 1px;
margin:0 auto;
}
div.table>div>div{
font-size:18;
border-right-width: 1px;
border-right-style: solid;
border-bottom-width: 1px;
border-bottom-style: solid;
width:199px;
display:inline-block;
margin:0px;
padding:0px;
text-align: center;
}
div.table>div:first-child{
background-color:pink;
}
</
style
>
</
head
>
<
body
>
<
div
class
=
"table"
>
<
div
>
<
div
>ID</
div
>
<
div
>Name</
div
>
</
div
>
<
div
>
<
div
>001</
div
>
<
div
>xiaohong</
div
>
</
div
>
<
div
>
<
div
>002</
div
>
<
div
>xiaohong</
div
>
</
div
>
<
div
>
<
div
>003</
div
>
<
div
>xiaohong</
div
>
</
div
>
<
div
>
<
div
>004</
div
>
<
div
>xiaohong</
div
>
</
div
>
<
div
>
<
div
>005</
div
>
<
div
>xiaohong</
div
>
</
div
>
</
div
>
</
body
>
</
html
>
|
本文转自 antlove 51CTO博客,原文链接:http://blog.51cto.com/antlove/1659342