• general-template.php, line 838…

    The “Write Page” and “Write Post” xhtml code contains a small error, that makes the page invalid :

    w3c validator : document type does not allow element “style” here.

    Bug solution :

    <style type="text/css">
    #postdivrich table, #postdivrich #quicktags {border-top: none;}
    #quicktags {border-bottom: none; padding-bottom: 2px; margin-bottom: -1px;}
    #edButtons {border-bottom: 1px solid #ccc;}
    </style>

    Should be replaced by

    <script type="text/css">
    // <![CDATA[
    #postdivrich table, #postdivrich #quicktags {border-top: none;}
    #quicktags {border-bottom: none; padding-bottom: 2px; margin-bottom: -1px;}
    #edButtons {border-bottom: 1px solid #ccc;}
    // ]]>
    </script>
  • The topic ‘mini-Bug report in general-template.php’ is closed to new replies.