I'm working with the following div
that contains an input and a label:
<div class="js-form-item ">
<input type="checkbox" id="checkboxes-11" class="type-checkboxes form-checkbox">
<label for="option-a-checkboxes-11" class="option">
Factures 11chf
</label>
<div class="option-price-style"> </div>
</div>
The issue I am facing is that the input appears before the label, but I am attempting to reverse the order so that the label comes before the input. I have attempted this by setting the input to display:block
and adding margin-bottom:1px
, however, it has not been successful.