Jump to content
nidi84

Checkbox and description on the same line

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...