我正在使用此HTML代码,但我没有在<feilset>
中获得边框。请问,任何人都可以帮助我使这段代码正常工作吗?
<feildset>
<label>PIS</label>
<div class="row" >
<div class="col-lg-3 col-md-5 col-sm-7">
<label class="label_text">Tipo Cálculo</label>
</div>
<div class="col-lg-3 col-md-4 col-sm-5">
<select class="form-control input-sm">
<option>1 - Saida</option>
</select>
</div>
</div>
<div class="row">
<div class="col-lg-3 col-md-3 col-sm-7">
<label class="label_text">Aliquota ICMS</label>
</div>
<div class="col-lg-2 col-md-3 col-sm-4">
<input type="text" class="form-control input-sm">
</div>
<div class="col-lg-1 col-md-3 col-sm-7">
<label class="label_text">Aliquota </label>
</div>
<div class="col-lg-2 col-md-3 col-sm-4">
<input type="text" class="form-control input-sm">
</div>
</div>
</feildset>
答案 0 :(得分:1)
代码中的错误是<feilset>
将其更改为<fieldset>
<强> HTML 强>
<fieldset>
<legend>Sample</legend>
<label>PIS</label>
<div class="row" >
<div class="col-lg-3 col-md-5 col-sm-7">
<label class="label_text">Tipo Cálculo</label>
</div>
<div class="col-lg-3 col-md-4 col-sm-5">
<select class="form-control input-sm">
<option>1 - Saida</option>
</select>
</div>
</div>
<div class="row">
<div class="col-lg-3 col-md-3 col-sm-7">
<label class="label_text">Aliquota ICMS</label>
</div>
<div class="col-lg-2 col-md-3 col-sm-4">
<input type="text" class="form-control input-sm"/>
</div>
<div class="col-lg-1 col-md-3 col-sm-7">
<label class="label_text">Aliquota </label>
</div>
<div class="col-lg-2 col-md-3 col-sm-4">
<input type="text" class="form-control input-sm"/>
</div>
</div>
</fieldset>
<强>输出:强>
答案 1 :(得分:0)
语法错误。
<feildset> - wrong
<fieldset> - right