WP adding ‘p’ tag to my images.

  • Unknown's avatar

    Why is WP adding a paragraph tag to images I put in my post? If I want to have 3 images next to each other, I’m unable to do that. WP is putting a paragraph tag around each making them stack, not sit side by side. I can’t find any way of NOT making it do this?

    Why is it making decisions like this?

    Thanks,

    Chris

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    If you’re talking about the blog linked to your username, you’re in the wrong forum – see the stickies up top on the main page of this forum. If you’re talking about a wp.COM blog, we need a link to it.

  • Unknown's avatar

    you can delete that “p” by you

  • Unknown's avatar

    @rachmatsetiawan: Yes you can, but a) the p tags do not affect image placement, b) this is the wp.COM forum: we don’t reply to questions before we make sure we’re talking about a wp.com blog.

  • Unknown's avatar

    Yes, this is a wp.com blog.

    I have just started managing this forum for someone I do work for. On my own wp.com blog I don’t seem to have this problem. So I’m wondering if it’s the template that was chosen for this blog which is causing the behavior. In my own blog I can insert images and have them sit next to each other.

    I partially solved this issue by manually putting the images inside a table.

    And I’m unable to delete the ‘p’ tags because WP adds them. The post code does not have them.

    http://barechestcalendar.wordpress.com/

    You can see the entries with the images. I put the table there to get them to sit next to each other. Simply placing them in the page causes them to be stacked at ‘run time’.

    Thanks

  • Unknown's avatar

    Nothing to do with the template, and nothing to do with p tags either. What happens to the content around an image is determined by the image alignment. If you set the image alignment to left, the images will show up in a row – no table needed.

    If the total of three images in a row is narrower than your post column, then text will wrap around the third image. If you don’t want that, set the alignment of the third image to none; or add this in the html editor after the third image code:
    <br style="clear:both;" />

    If you want more space between the images, click on them in the visual editor, click the mountain icon, click Advanced Settings, type a number in the “horizontal space” box, click Update; click Update post when you’re done with all the images. (Of course, if you are familiar with html, adding appropriate commands in the html editor is faster.)

  • The topic ‘WP adding ‘p’ tag to my images.’ is closed to new replies.