我一直在研究一些表單,我不確定如何定製它們。用CSS處理HTML表單
This solution似乎工作,但在我的情況下,屬性只是應用於窗體周圍的區域,而不是窗體本身。
CSS:
.Forms{
position:relative;
top:100px;
background-color:#666;
font-family:'Unica One';
font-weight:500;
}
HTML:
<form action="" method="post" class="Forms" id="Form1">
<input type="submit" value="Email Zoltan (Financial Manager, Director)" />
<input type="hidden" name="button_pressed" value="1" />
</form>
到底什麼是(意外)行爲?你能舉個例子嗎? – Pankrates
你有沒有嘗試'輸入[類型=「提交」]'? – Scott
jsfiddle請 –