Title: Problem with html validation
Last modified: November 13, 2019

---

# Problem with html validation

 *  [dzamanakos](https://wordpress.org/support/users/dzamanakos/)
 * (@dzamanakos)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/problem-with-html-validation/)
 * Hi, first of all thank for sharing this plugin for free.
    The map style positioning
   of the plugin does not pass html validation, as “Element style not allowed as
   child of element body in this context.” This is happening because $infobox_style-
   >add_css($gmap_name) command in function generate_script() prints the css in 
   the bottom of the body, along with javascript code. This could be fixed if you
   exclude the css generation from wp_print_footer_scripts hook and add it in the
   head with another hook.
 * best regards,

The topic ‘Problem with html validation’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/novo-map_617d85.svg)
 * [Novo-Map : your WP posts on custom google maps](https://wordpress.org/plugins/novo-map/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/novo-map/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/novo-map/)
 * [Active Topics](https://wordpress.org/support/plugin/novo-map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/novo-map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/novo-map/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [dzamanakos](https://wordpress.org/support/users/dzamanakos/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/problem-with-html-validation/)
 * Status: not resolved