Jump to content

Checkbox and description on the same line


nidi84

Recommended Posts

Does anybody know how I can get the checkbox on the same line before the text?

 

<div id="mergeRow-gdpr" class="mergeRow gdpr-mergeRow content__gdprBlock mc-field-group">
    <div class="content__gdpr">
        <label>Datenschutz <span class="asterisk">*</span></label>
        
        <fieldset class="mc_fieldset gdprRequired mc-field-group" name="interestgroup_field">
        <label class="checkbox subfield" for="gdpr_37317"><input type="checkbox" id="gdpr_37317" name="gdpr[37317]" value="Y" class="av-checkbox gdpr"><label>Ich habe die <a href="https://www.link.com/datenschutz/" target="_blank">Datenschutzerklärung</a> gelesen und bin damit einverstanden</span> </label>
        </fieldset>
    </div>
    <div class="content__gdprLegal">
    </div>
</div>

signup-form-checkbox.JPG

Link to comment
Share on other sites

2 hours ago, dsonesuk said:

And you both missed the misplaced opening label tag.

Wondered why the closing tags were red in the tryit.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...