테이블 행의 가운데에 헤더를 배치하는 방법은 무엇입니까?
.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 { 디스플레이 : 인라인; } 또는 인라인 블록 ... – sinisake
@AzeezKallayi 예! –