Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 未在div中对齐的复选框_Html_Checkbox_Vertical Alignment - Fatal编程技术网

Html 未在div中对齐的复选框

Html 未在div中对齐的复选框,html,checkbox,vertical-alignment,Html,Checkbox,Vertical Alignment,我在div上有一个带有复选框的表单,复选框相对于文本行的位置较低 缺少什么使其垂直对齐?,,谢谢 <div id="dialog-form2" title="Titulo"> <p class="validateTips">All form fields are required.</p> <form> <fieldset> <label for="name">Your name</label> <inpu

我在div上有一个带有复选框的表单,复选框相对于文本行的位置较低

缺少什么使其垂直对齐?,,谢谢

<div id="dialog-form2" title="Titulo">
<p class="validateTips">All form fields are required.</p>
<form>
<fieldset>
<label for="name">Your name</label>
<input type="text" name="name" id="name" class="text ui-widget-content ui-corner-all" />
<label for="email">Your email</label>
<input type="text" name="email" id="email" value="" class="text ui-widget-content ui-corner-all" />
<label for="email">Your phone number</label>
<input type="text" name="phone" id="phone" value="" class="text ui-widget-content ui-corner-all" />
<label for="password">Your Member Number</label>
<input type="password" name="password" id="password" value="" class="text ui-widget-  content ui-corner-all" />

<br>
Enquiry<br>
<input type="checkbox" name="option1" value="Milk"> I would like to r <br>
<input type="checkbox" name="option2" value="Butter">I need a h <br>  
<input type="checkbox" name="option2" value="Butter">Please email me with offer details<br>  
<input type="checkbox" name="option2" value="Butter">Please call me to discuss offer<br>  
<input type="checkbox" name="option2" value="Butter">Other?<br>  

</fieldset>
 </form>
</div>

所有表单字段都是必需的

你的名字 你的电子邮件 你的电话号码 您的会员号码
查询
我想去r
我需要一个h
请向我发送电子邮件,告知报价详情
请给我打电话讨论报价
其他?

如果不知道样式表是什么样子,很难回答这个问题。甚至你的字体/字号也会在一定程度上影响这一点。例如,只需将代码粘贴到一个空白html文件中并以浏览器对齐方式显示它就有点不合适了,因为我使用的是字体的使用时间,但是如果我将主体字体更改为arial,它的效果会非常好。仅仅是在没有相关css的情况下截取这个,就很难像你可能需要的那样清楚地回答这个问题