W3 Validator throws error on this
-
When validating my site, I noticed an error that is related to Mailpoet plugin.
Element style not allowed as child of element div in this context. (Suppressing further errors from this subtree.)
This is from the source code (left the linebreaks in as they are also in the source code coming from the plugin). As you can see, your <style> element is nested inside a <div> which is not allowed. On this specific page I have an active Mailpoet newsletter widget.
<div class=" mailpoet_form_popup_overlay "></div> <div id="mailpoet_form_1" class=" mailpoet_form mailpoet_form_widget mailpoet_form_position_ mailpoet_form_animation_ " > <style> .mailpoet_hp_email_label{display:none!important;}#mailpoet_form_1 .mailpoet_form { } #mailpoet_form_1 .mailpoet_paragraph { line-height: 1.5; } #mailpoet_form_1 .mailpoet_segment_label, #mailpoet_form_1 .mailpoet_text_label, #mailpoet_form_1 .mailpoet_textarea_label, #mailpoet_form_1 .mailpoet_select_label, #mailpoet_form_1 .mailpoet_radio_label, #mailpoet_form_1 .mailpoet_checkbox_label, #mailpoet_form_1 .mailpoet_list_label, #mailpoet_form_1 .mailpoet_date_label { display: block; font-weight: 300; } #mailpoet_form_1 [...] </style>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘W3 Validator throws error on this’ is closed to new replies.