• Hi all,

    I’m getting a rather strange problem where I am getting <p> tags auto-inserted around my <img> tags. Any idea of why this is happening and how to get rid of them?

    I’m using a WooTheme, theme called ‘Cool Blue’ if that helps? See the code view in the editor before it’s been rendered in the browser and the after state after WP has inserted the <p> tags around the <img>

    BEFORE

    <div id="left-col" class="grid_4">
    <h3>Summer Showcase </h3>
    ><img src="wp-content/uploads/2009/05/nia1.jpg" alt="NIA" title="NIA" width="250" height="111" class="alignleft size-full wp-image-1252" />
    </div>

    AFTER

    <div id="left-col" class="grid_4">
    <h3>Summer Showcase</h3>
    <p><img src="wp-content/uploads/2009/05/nia1.jpg" alt="NIA" title="NIA" class="alignleft size-full wp-image-1252" width="250" height="111">
    </p></div>

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Why I am getting <p> tags auto inserted around images?’ is closed to new replies.