I have utilized fieldset to generate a titled border around a div.
Here is the code snippet:
<div class="form-group col-xs-12">
<fieldset class="field_set col-xs-12">
<legend style="font-weight:bold;font-size:20px"> Sproc Details:</legend>
<div class="col-xs-12">
<div class="form-group col-xs-3">
<span>
Application Name <span></span>
</span>
</div>
<div class="form-group col-xs-2">
<span>
DB Name <span></span>
</span>
</div>
<div class="form-group col-xs-3">
<span>
Schema Name <span></span>
</span>
</div>
<div class="form-group col-xs-4">
<span>
Sproc Name <span></span>
</span>
</div>
</div>
<div class="col-xs-12">
<div class="form-group col-xs-3">
<span class="btn btn-block btn-success">
{{appName}} <span></span>
</span>
</div>
<div class="form-group col-xs-2">
<span class="btn btn-block btn-success">
{{dbName}} <span></span>
</span>
</div>
<div class="form-group col-xs-3">
<span class="btn btn-block btn-success">
{{schemaName}} <span></span>
</span>
</div>
<div class="form-group col-xs-4">
<span class="btn btn-block btn-success">
{{sprocName}} <span></span>
</span>
</div>
</div>
</fieldset>
</div>
The CSS for fieldset is:
.field_set {
border: 2px white solid;
padding: 4px;
}
Upon execution, the output appears truncated as shown below:
It seems like the content is not fully displayed.