-
Notifications
You must be signed in to change notification settings - Fork 323
/
table_01.rml
94 lines (93 loc) · 1.46 KB
/
table_01.rml
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<rml>
<head>
<title>Table 01</title>
<link type="text/rcss" href="../style.rcss"/>
<link rel="help" href="https://www.w3.org/TR/2011/REC-CSS2-20110607/tables.html" />
<link rel="match" href="reference/table_01-ref.rml"/>
<meta name="Description" content="Basic table layout." />
<style>
table {
border-width: 20px 5px 0;
color: #333;
text-align: center;
margin: 0 auto;
min-width: 100px;
max-width: 400px;
}
table, table * {
border-color: #666;
}
td {
padding: 15px 5px;
}
col {
background: #3d3;
}
col:first-child {
background: #6df;
border-right-width: 3px;
}
col:nth-child(3) {
background: #dd3;
}
thead {
color: black;
background: #fff5;
border-bottom: 3px #666;
}
tbody tr {
border-bottom: 1px #666a;
}
tbody tr:last-child {
border-bottom: 0;
}
tbody tr:hover {
background: #fff5;
}
tfoot {
background: #666;
color: #ccc;
}
tfoot td {
padding-top: 0px;
padding-bottom: 0px;
text-align: right;
height: 20px;
}
</style>
</head>
<body>
<table>
<col/>
<col span="2"/>
<col/>
<thead>
<tr>
<td>A</td>
<td colspan="2">B</td>
<td>C</td>
</tr>
</thead>
<tbody>
<tr>
<td>D</td>
<td>E</td>
<td>F</td>
<td>G</td>
</tr>
<tr>
<td>H</td>
<td>I</td>
<td>J</td>
<td>K</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="4">[1] Footnote</td>
</tr>
</tfoot>
</table>
<handle size_target="#document"/>
</body>
</rml>