包含多个元素的公式
Formular with multiple Elements in line
大家好,我是 html、css、javascript 和 jquerymobile 的新手。我有一个问题,它看起来很简单,但我就是想不通。
注意:我为这个项目使用了一个名为 https://ezoui.com/app/index.html 的网站。
我想创建一个公式(基于html/jquerymobile),用户可以在其中插入不同的值,现在我的问题来了。我希望其中一些元素像这样排成一行。
[标签] [textArea/input] _______whitespace_______________ [标签] [textArea/input]
[标签] [textArea/input] _______whitespace_______________ [标签] [textArea/input]
[标签][textArea/input]
我只能设法在一行中获得一个标签和一个文本区域,而不是多个。
如有任何建议和示例,我们将不胜感激。
p {
float: left;
margin-right: 15px !important;
}
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" />
<div class="row">
<div class="col-xs-6">
<p>some Label</p>
<input type="text">
</div>
<div class="col-xs-6">
<p>some other Label</p>
<input type="text">
</div>
</div>
<div class="row">
<div class="col-xs-6">
<p>sweg</p>
<input type="text">
</div>
<div class="col-xs-6">
<p>another</p>
<input type="text">
</div>
</div>
大家好,我是 html、css、javascript 和 jquerymobile 的新手。我有一个问题,它看起来很简单,但我就是想不通。
注意:我为这个项目使用了一个名为 https://ezoui.com/app/index.html 的网站。
我想创建一个公式(基于html/jquerymobile),用户可以在其中插入不同的值,现在我的问题来了。我希望其中一些元素像这样排成一行。
[标签] [textArea/input] _______whitespace_______________ [标签] [textArea/input]
[标签] [textArea/input] _______whitespace_______________ [标签] [textArea/input]
[标签][textArea/input]
我只能设法在一行中获得一个标签和一个文本区域,而不是多个。
如有任何建议和示例,我们将不胜感激。
p {
float: left;
margin-right: 15px !important;
}
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" />
<div class="row">
<div class="col-xs-6">
<p>some Label</p>
<input type="text">
</div>
<div class="col-xs-6">
<p>some other Label</p>
<input type="text">
</div>
</div>
<div class="row">
<div class="col-xs-6">
<p>sweg</p>
<input type="text">
</div>
<div class="col-xs-6">
<p>another</p>
<input type="text">
</div>
</div>