lundi 31 décembre 2018

Place checkbox inline with paragraph text

How can i put that checkbox inline with the text?

The html code is:

<div class="checkbox checkbox_allow_div"><label class="label_300"><input type="checkbox" name="allow" value="1" class="allow_checkbox"><?php echo gdpr_text('gdpr_order_text'); ?></label></div>

The text, that i echo with php, its comeing from sql table, and its writed in a ckeditor on the admin page. Ckeditor put the text automatically in <p> tags.

I cant put the checkbox code into that texts html code, bacause the user is writing the text on the admin page, so its always dynamic.

enter image description here




Aucun commentaire:

Enregistrer un commentaire