blob: c91ff02b0cfa27617984e419152b4e5f9ccae4d6 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Reference Result</title>
<link rel="author" title="WebKit" href="http://www.webkit.org/">
<link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#height-layout">
<style type="text/css">
td
{
height: 66px;
}
#first
{
vertical-align: baseline;
}
#second
{
vertical-align: middle;
}
#small
{
font-family: Ahem;
font-size: small;
}
#large
{
font-family: Ahem;
font-size: large;
}
</style>
</head>
<body>
<p>Test passes if the bottom of the first two black boxes is aligned.</p>
<table>
<tr>
<td id="first">
<div id="large">Text</div>
</td>
<td id="first">
<div id="small">Text</div>
</td>
<td id="second">
<div id="small">Text</div>
</td>
</tr>
</table>
</body>
</html>
|