samedi 15 août 2015

How can I add a label left of a checkbox?

I have this checkbox: http://ift.tt/1UKBjmu

<div class="onoffswitch">
    <input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="myonoffswitch">
    <label class="onoffswitch-label" for="myonoffswitch">
        <span class="onoffswitch-inner"></span>
        <span class="onoffswitch-switch"></span>
    </label>
</div>

I want to add a label/span left of the checkbox, e.g. "Set Output". I tried a lot. But nothing is right.

Thanks in advance!




Aucun commentaire:

Enregistrer un commentaire