summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-width/cellspacing-ref.html
blob: c8664ff969ed8e040bad3660acd197b2537a28f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE HTML>
<html>
<head>
<title>cellspacing</title>
</head>
<body>

<!-- compare to CSS border-spacing -->
<table border style="padding: 0; border-spacing: 7px"><tr><td>This is some text.</td></tr></table>
<table border style="padding: 0; border-spacing: 10px 7px"><tr><td>This is some text.</td></tr></table>

<!-- drop borders and ensure that we get the right amount of space -->

<div style="border: medium solid; margin: 1em 0; float: left; clear: left;padding: 8px">This is some text.</div>

<div style="border: medium solid; margin: 1em 0; float: left; clear: left; padding: 3px 5px 7px 9px">This is some text.</div>

</body>
</html>