HTML - 输入不会低于对方

时间:2015-06-01 20:51:05

标签: html css

我试图让2个输入框一个堆叠在另一个之下。然而,即使使用display:block,它们也会继续并排显示。



#form-wrapper
{
	height:100%;
	flex: 1 1 auto;
	margin:0 auto;
	display:block;
}

<div id="form-wrapper">
     <form id="withdraw-form">
         <input class="input"/>
         <input class="input"/>
    </form>
</div>
&#13;
&#13;
&#13;

然而,这就是我得到的: img

2 个答案:

答案 0 :(得分:3)

您的[StructLayout(LayoutKind.Sequential)] internal struct SYSTEM_INFO { public ushort wProcessorArchitecture; public ushort wReserved; public uint dwPageSize; public IntPtr lpMinimumApplicationAddress; public IntPtr lpMaximumApplicationAddress; public UIntPtr dwActiveProcessorMask; public uint dwNumberOfProcessors; public uint dwProcessorType; public uint dwAllocationGranularity; public ushort wProcessorLevel; public ushort wProcessorRevision; } [DllImport("kernel32.dll", CharSet = CharSet.Auto, ExactSpelling = true)] internal static extern void GetNativeSystemInfo(ref SYSTEM_INFO lpSystemInfo); 没有点击输入元素

display: block

答案 1 :(得分:0)

试试这个:jsfiddle.net/wbrom5q9

$temp_array = array_unique(mysqli_fetch_array($get_con));
foreach($temp_array as $temp) {
    *stuff*
}