WordPress.org

Ready to get started?Download WordPress

Forums

sigh...vertical picture with text on side problem (3 posts)

  1. edjusted
    Member
    Posted 8 years ago #

    I'm trying to play with text and picture alignment and I've searched through a lot of posts, but nobody seems to have a similar problem where there isn't enough text to "fill" the side of the picture. I've tried a combination of the "clearer" tag in css and aligh and float...and nothing seems to work. My entries are "running" into each other. The two posts in my blog are examples of what happens using align vs. float (no difference as far as I can tell).

    http://www.betteroffed.com/

    Any ideas?

  2. Ming
    Member
    Posted 8 years ago #

    Try adding padding to the images. Put this at the end of your stylesheet.

    .entry img { padding: 4px; }
    or
    .entry img { padding: 0 4px; } (0 pixels on the top/bottom and 4px spacing on left/right sides - adjust spacing as necessary)

    The .entry img will affect <img> tags only in the <div class="entry">. (aka just the pictures in your posts).

  3. edjusted
    Member
    Posted 8 years ago #

    Ok, that did it! Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic