我這裏有一個例子:http://jsfiddle.net/3zSbt/對齊表單輸入框?
我不知道我怎麼會連我的輸入框海誓山盟......
任何幫助將不勝感激。
HTML
<div id="contactContent">
<form>
Email: <input type="text" name="firstName">
<br>
Subject: <input type="text" name="lastName">
</form>
</div>
CSS
#contactContent { margin-top: 50px; margin-left: 300px;}
input { border: none; margin-left: 50px; margin-bottom: 30px; padding-right: 50px;}
有很多方法。這是一個[示例](http://jsfiddle.net/3zSbt/1/)。 – Vucko
無論如何,只要它看起來像你的榜樣一樣適合我。你應該讓它成爲答案,以便我可以檢查它。 :) – Zevoxa