我看過這裏的一些示例並遵循一個示例,但它不是開着的。請問我錯過了什麼?由css控制的標籤和輸入標籤寬度
fieldset {
overflow:hidden;
width:90%
}
label {
padding-left:26px;
width:250px;
display:block; float:left; clear:left;
}
input {
width:200px;
display:block; float:left;
}
.formFieldDiv { float:left; width:500px }
<td style="width:70%" align="left" valign="top">
<form id="divorce" name="divorce" method="post" action="send_form_email.php">
<fieldset>
<div id="spouse1" class="formFieldDiv" >
<label for="spouse1">Full Names + Surname Spouse 1*</label>
<input type="text" name="spouse1" id="spouse1" maxlength="50" size="30" />
</div>
<div id="spouse2" class="formFieldDiv">
<label for="spouse2">Full Names</label>
<input type="text" name="spouse2" id="spouse2" maxlength="50" size="30"/>
</div>
</fieldset>
</form>
</td>
我在想什麼?我想輸入的所有行
http://jsfiddle.net/charles_cat/omwth1cy/2/ – 2014-08-28 09:12:19
你能解釋一下你正在嘗試做的,請 – haxxxton 2014-08-28 09:14:22