WordPress.org

Ready to get started?Download WordPress

Forums

Problems with Left Justify Picture (3 posts)

  1. Bacchus1906
    Member
    Posted 6 years ago #

    I have been having a problem of inserting a picture to the left of my post and having my text wrap around on the right hand side. The problem is that I insert the picture and then sent it to the left, but when viewing the post, it has the text tightly on the right hand side of the picture. It looks like the text is trying to break into the picture. How can I insert a picture and then create an invisible border around the picture so the text is not running into it?

  2. Clicknathan
    Member
    Posted 6 years ago #

    Can you link to your site?

    Typically, you'd use some CSS like this:

    .imgclass {
      float:left;
      padding-right:20px;
    }

    That should do it for you, then in your image tag put this:

    <img class="imgclass" src="yourimage.jpg" />

  3. Bacchus1906
    Member
    Posted 6 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic