<table>
<tr>
<td><form name="profiel" action="profiel.php"><input class="button2" type="submit" value="Jens Boonen" /></form></td>
<td width="94%"><form name="zoeken" action="zoeken.php"><input type="submit" class="button2" value="Zoeken"> </form></td>
<td><form name="loguit" action="loguit.php"><input class="button2" type="submit" value="Log-Out" /></form></td>
</tr>
</table>
爲什麼不在同一級別的按鈕?
按照要求的CSS:
.button2 {
background-color:black;
display:block;
line-height:200%;
text-transform: lowercase;
font-variant: small-caps;
font-size: 20px;
font-weight: 300;
text-decoration: none;
color: white;
margin:0.5%;
border:1px solid white;
}
全部3個按鈕是「BUTTON2」,以及「zoeken」和「退出」都在同一水平(註銷不顯示圖片),但名稱欄(在這種情況下,Jens Boonen)不是
因爲我們不知道你的CSS是怎麼樣的。請提供您的CSS。 – Siyah
特別爲你添加它hahaha – Bondjens
我看你的html,並立即想到2個問題: 1)爲什麼你使用表格佈局? 2)你爲什麼使用表單?對於註銷操作,這是一件好事,但其他「形式」不能只使用錨標籤嗎? – Kippie