summaryrefslogtreecommitdiff
path: root/works/table-defaults.html
blob: b0f9821434bb52c319703c76adcd1092b3464f47 (plain)
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
<html>
<head>
<title>Table Defaults</title>
</head>
<body>
<table>
<tr>
<td style="background-color: #faa;">moo</td>
<td style="background-color: #faa;">moo</td>
</tr>
<tr>
<td style="background-color: #faa;">moo</td>
<td style="background-color: #faa;">moo</td>
</tr>
</table>
<p>Above is an unstyled table (apart from pale red cell backgrounds). Below, padding is set to zero.</p>
<table>
<tr>
<td style="background-color: #faa; padding: 0;">moo</td>
<td style="background-color: #faa; padding: 0;">moo</td>
</tr>
<tr>
<td style="background-color: #faa; padding: 0;">moo</td>
<td style="background-color: #faa; padding: 0;">moo</td>
</tr>
</table>
</body>
</html>