Forums

W3C Markup Validator (2 posts)

  1. brevityness
    Member
    Posted 2 years ago #

    I keep getting a lot of these similar errors:

    document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

    <p style="text-align: center;"><img class="aligncenter size-full wp-image-766" t

    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "", "<span>", or "<font>").

    Can anyone tell me how to fix this?
    Here's a link to my blog: LonePlacebo

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    its because of cascading errors nearby. You have malformed/misclosed items. like <p style> <a> </p> <p> </a> </p>

    here

    <p class="title"><a href="http://loneplacebo.com" title="LonePlacebo">
    <img class="alignleft" src="http://loneplacebo.com/images/loneplacebologo.png" width="48" height="48" alt="LonePlacebo"/>
    LonePlacebo<img src="http://loneplacebo.com/images/loneplacebologo.png" width="48" height="48" alt="LonePlacebo"/></p>
    <p class="description">Funny things happen to people who are not funny</p></a>

    Dunno if this is gonna help you, its hard for me to explain....

    Also, you have <ul> items in there

    <ul class="social">
    <iframe src='http://api.tweetmeme.com/button.js?url=http://loneplacebo.com/39-photos-smile/&source=loneplacebo&style=compact' height='20' width='90' frameborder='0' scrolling='no'></iframe>
    </ul> <!-- social bookmark section-->

    which if I'm not mistaken should be

    <ul class="social">
    <li><iframe src='http://api.tweetmeme.com/button.js?url=http://loneplacebo.com/39-photos-smile/&source=loneplacebo&style=compact' height='20' width='90' frameborder='0' scrolling='no'></iframe> </li>
    </ul> <!-- social bookmark section-->

    so I'd guess your loop has issues....

Topic Closed

This topic has been closed to new replies.

About this Topic