nidi84 Posted February 26, 2020 Share Posted February 26, 2020 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> Link to comment Share on other sites More sharing options...
Funce Posted March 4, 2020 Share Posted March 4, 2020 Hi there, Styling will fix this. What exactly? It looks like you've already got a couple of classes (perhaps with their own styles) already. Your code on its own produces this: https://www.w3schools.com/code/tryit.asp?filename=GCIJY0YN9L3O Link to comment Share on other sites More sharing options...
nidi84 Posted March 5, 2020 Author Share Posted March 5, 2020 Hi there, Interesting. On the actual website it's like in the image I shared. Link to comment Share on other sites More sharing options...
dsonesuk Posted March 5, 2020 Share Posted March 5, 2020 And you both missed the misplaced opening label tag. Link to comment Share on other sites More sharing options...
Funce Posted March 5, 2020 Share Posted March 5, 2020 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now