• I’m trying to line up a few small pics in a vertical fashion, and have text sit to the right of each pic like this: Picture

    But every time I go through and space it all out on the page, I save it and then on the page and the editor the pictures and text are all jumbled up!

    How can I get around this? Is there an easy way I’m missing or do I have to get some plugin that stops WP from stripping br and p tags?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi

    This is usually caused by the text being shorter than the size of the image.

    The easiest solution is to right align the image. Since it is the tallest object, the next paragraph will be relative to it.

    If that isn’t what you want, then create a table and insert the images and text into rows.

    Something like this:

    <table>
    <tr>
    <td>image 1</td>
    <td>text for the first image</td>
    </tr>
    <td>image 2</td>
    <td>text for the 2nd image</td>
    </tr>
    </table>

    Hope that helps.

    Thread Starter SidianMSJones

    (@sidianmsjones)

    Hey cool. This sounds helpful. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP keeps stripping out my break and paragraph tags.’ is closed to new replies.