我有两行或更多行,每行有三个复选框。我希望它们在行之间均匀排列,就像它们在表格列中一样。现在,根据文本标签的长度,它们看起来是交错的。如何模拟每一行的表格列,使布局看起来更有条理?
<form id="form-filter" name="form-filter" method="POST" action="/filter" class="form-inline">
<fieldset>
<legend style="margin-bottom:-10px;">Select up to 6 filters</legend>
<div class="control-group">
<div class="controls">
<label class="checkbox inline">
<input id="Medjugorje" name="Medjugorje" type="checkbox" checked>Medjugorje
</label>
<label class="checkbox inline">
<input id="Kibeho" name="Kibeho" type="checkbox">Kibeho
</label>
<label class="checkbox inline">
<input id="Lourdes" name="Lourdes" type="checkbox">Lourdes
</label>
</div>
<div class="controls">
<label class="checkbox inline">
<input id="Fatima" name="Fatima" type="checkbox">Fatima
</label>
<label class="checkbox inline">
<input id="Secrets" name="Secrets" type="checkbox">Secrets
</label>
</div>
</div>
<button type="submit" class="btn btn-primary">Filter</button>
<button id="clearButton" type="button" class="btn">Clear</button>
</fieldset>
</form>