mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 19:25:10 +00:00

Setting the top of the table coordinate should not consider the top padding and margin of the caption, just the bottom and content height.
15 lines
No EOL
162 B
HTML
15 lines
No EOL
162 B
HTML
<style>
|
|
caption {
|
|
caption-side: top;
|
|
padding: 10px;
|
|
}
|
|
</style>
|
|
|
|
<table>
|
|
<caption>
|
|
Caption
|
|
</caption>
|
|
<tr>
|
|
<td>Cell</td>
|
|
</tr>
|
|
</table> |