Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/36.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 用于字段集的Css在响应视图上不起作用_Html_Css - Fatal编程技术网

Html 用于字段集的Css在响应视图上不起作用

Html 用于字段集的Css在响应视图上不起作用,html,css,Html,Css,我正在尝试设置响应视图上设置的字段宽度 但我无法设置宽度。下面的链接是有Captca。我需要测试那个的宽度,如果您使用引导,为什么不使用列网格 使用.row和.col xx类。您需要正确对齐文本框,然后对其进行调整 像这样试试--> 名字 <div style="width:100%;display:flex"> <h4 style="width:35%">First Name</h4> <input type="text" st

我正在尝试设置响应视图上设置的字段宽度
但我无法设置宽度。下面的链接是有Captca。我需要测试那个

的宽度,如果您使用引导,为什么不使用列网格


使用.row和.col xx类。

您需要正确对齐文本框,然后对其进行调整

像这样试试-->


名字
<div style="width:100%;display:flex">
     <h4 style="width:35%">First Name</h4>
     <input type="text" style="width:65%" />
</div>