.overzicht td{
padding: 10px;
text-align: center;
max-width: 600px;
min-width: 600px;
}
<table class='overzicht' border='1'>
<tr style='background-color: yellow;'>
<td colspan='9'>
<h2 style='margin-top: auto; '> Meest recente storing </h2>
<form method='POST' action='nieuwestoring.php' style='float: right; margin-bottom: 0px;'>
<input type='submit' style='padding: 10px;' name='nieuw' value='Nieuwe Storing'>
</form>
</td>
</tr>
</table>
我如何在同一高度的按鈕標題文本? 所以它不在按鈕上方?
位置? –
.overzicht h2 {display:inline; }或內聯塊... – sinisake
@AzeezKallayi是的! –