gallery function put invalidate style in body
|Reported by:||thomask||Owned by:|
|Severity:||minor||Keywords:||gallery, validation, style|
standard wordpress gallery shortcode put <style> just before the gallery, so inside the <body>. According to W3 validation service, this is invalid way, it must be in the <head> section of the document
document type does not allow element "style" here <style type='text/css'> The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).