Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WOWSlider.com

    (@wowslidercom)

    The validator gives the following error:

    Validation Output: 1 Error

    Error Line 240, Column 4: No p element in scope but a p end tag seen.

    </p>

    It’s not a part of WOWSlider code.

    Thread Starter AcousticAssociates

    (@acousticassociates)

    When I remove the WOWSlider shortcode I do not get the error. When I put it back in the error returns. Is it something to do with how it interacts with the style?

    Thanks

    Plugin Author WOWSlider.com

    (@wowslidercom)

    Slider is a block element based on div.
    According to specification (http://www.w3.org/TR/html-markup/p.html#p) “phrasing elements” only should be placed in P tag.
    Div is not a “phrasing element”, that’s why slider should be placed outside the P tag.
    But you’ve inserted slider inside it and this causes the error.

    Thread Starter AcousticAssociates

    (@acousticassociates)

    I think I have fixed it by putting the shortcode inside a <div> tag dont understand it fully but I think that the wordpress editor was putting the WowSlider stuff inside the <P> tags automatically.

    Thanks – you set me on the right path there.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Validation error.’ is closed to new replies.