Support » Plugin: Slideshow » Move Inline CSS? – Invalid HTML5

  • Resolved brightemo

    (@brightemo)


    Is it possible to remove/move the inline CSS <style>…</style>?

    The current HTML5 standard does not allow for <style> elements as children of <div>s (or any element with content model of ‘flow’)

    Line 154, Column 24: Element style not allowed as child of element article in this context. (Suppressing further errors from this subtree.)
    <style type=”text/css”>
    Contexts in which element style may be used:
    If the scoped attribute is absent: where metadata content is expected.
    If the scoped attribute is absent: in a noscript element that is a child of a head element.
    If the scoped attribute is present: where flow content is expected, but before any other flow content other than inter-element whitespace, and not as the child of an element whose content model is transparent.
    Content model for element article:
    Flow content.

    http://wordpress.org/extend/plugins/slideshow-jquery-image-gallery/

Viewing 1 replies (of 1 total)
  • Plugin Author Stefan Boonstra

    (@stefanboonstra)

    Yes, this will be taken care of in version 2.3.0 of the plugin.

    I’ve explained the reason why I have gone with outputting it on the page to another person earlier, you can view the thread here.

Viewing 1 replies (of 1 total)
  • The topic ‘Move Inline CSS? – Invalid HTML5’ is closed to new replies.