我試圖呈現一個HTML表單是這樣的:http://i.imgur.com/V53sv8F.jpg格式HTML表單
我現在面臨的問題是:
我不能使字段去下一行後標籤
我一直沒能得到第一個和最後的firld長度相結合,只要是作爲電子郵件(或密碼)
任何幫助非常感謝。
HTML代碼:
<form>
<label for="Name"><strong> Your Name:</strong></label>
<input type="text" id="Name_First" name="Name_First" required>
<input type="text" id="Name_Last" name="Name_Last" required>
<label for="Email">Email Address:<input type="email" id="Email" name="Email" vrequired></label>
<label for="RegPassword">Password:<input type="password" id="RegPasswordRegPassword" name="RegPassword" required></label>
<form>
JS小提琴鏈接:http://jsfiddle.net/d6a4h9o8/
爲什麼不使用DIV,而不是標籤,只要你想塊元素的功能? – 2014-09-05 20:52:49