Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<link rel="match" href="table-height-distribution-with-border-spacing-ref.html">
<style>
table {
border-spacing: 0 20px;
font: 20px/1 Ahem;
}
td {
padding: 0;
background: green;
}
</style>
<p>Both tables should be the same height (200px). No gray should be visible in the first table.</p>
<table style="height: 200px; width: 100px; background: green;">
<tr><td style="height: 1px"></td></tr>
</table>
<br>
<table style="height: 200px; width: 100px; background: gray;">
<tr><td></td></tr>
</table>