Forums

text and images (4 posts)

  1. am1am2
    Member
    Posted 1 year ago #

    Does anyone know the code I put in images to make sure the text within the post wraps around them?

    Currently it just makes a big blank space beside the image and this isn't what I want them to look like.

    Thank you :)

  2. Agus Suhanto
    Member
    Posted 1 year ago #

    In WordPress, you can use CSS attribute alignleft, aligncenter, or alignright for images. It will cause text wrap around image.

  3. am1am2
    Member
    Posted 1 year ago #

    Hello,
    They all seem to say alignleft already. For example, one picture is:

    <img class="alignleft size-thumbnail wp-image-8603" title="breastfeeding" src="http://morningquickie.com/wp-content/uploads/2010/08/breastfeeding1-150x150.jpg" alt="" width="150" height="150" />

    So if it is already coded for "alignleft" why does it not wrap the text? Is there anything else I could try? Thank you.

  4. Te Calleja
    Member
    Posted 1 year ago #

    please check your style.css file if it has this:

    .alignleft {
       float: left;
    }

    alternatively, maybe you can click the html tab on your post and insert
    style="float:left;"
    within your img tag

Topic Closed

This topic has been closed to new replies.

About this Topic