• Resolved ddeconin

    (@ddeconin)


    when i XHTML validate my blog I get an error on the codepiece that calls the sociable plugin.

    The code is
    ‘<?php if (function_exists(‘sociable_html’)) { echo sociable_html(); } ?>’
    and the error is

    ‘Line 135, Column 21: document type does not allow element “div” here; missing one of “object”, “applet”, “map”, “iframe”, “button”, “ins”, “del” start-tag.
    <div class=”sociable”>?

    Anybody who knows how I can fix this ?

Viewing 1 replies (of 1 total)
  • This is not the plugin’s fault. Sociable outputs a <div> element, and you probably have the Sociable code inside a span, p or any other elements where a <div> is not allowed ( I know the W3C Validator error is vague, but this is what it means). Could you try move it outside the <span> or <p> and see if the error disappears?

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Sociable] fails XHTML validation’ is closed to new replies.