我试图呈现一个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