WordPress.org

Ready to get started?Download WordPress

Forums

Slideshow
[resolved] Move Inline CSS? - Invalid HTML5 (2 posts)

  1. brightemo
    Member
    Posted 1 year ago #

    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/

  2. Stefan Boonstra
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.