WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Why is one image displaying slightly higher than the other? (3 posts)

  1. biklops
    Member
    Posted 6 years ago #

    Hi everyone!

    Check out this blog. I have two images (screen shots of web pages) that I'm trying to make display side by side. They're both set to float-left, and there is a clear:both before and after to keep the flow nice. Yet, one image is displaying slightly higher than the other...why?

  2. moshu
    Member
    Posted 6 years ago #

    Because for this class:
    class="imgcaption floatl"
    you have a margin 1em defined somewhere... (which you don't for the right float...)

  3. biklops
    Member
    Posted 6 years ago #

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic