Forums

[resolved] text squeezes between left and right aligned images (2 posts)

  1. roadie
    Member
    Posted 1 year ago #

    I have a post which begins with two images, one left aligned, the other right aligned. I want the text that follows to appear below both images, but instead it and the metadata squeeze up into the space between the two images.

    Here's the html in the post:

    <img class="alignleft" title="no-overtake-1" src="http://faustino.local/wordpress/wp-content/uploads/2010/08/no-overtake1-147x150.jpg" alt="no-overtake-1" width="147" height="150" /><img class="alignright size-full wp-image-155" title="overtake-1" src="http://faustino.local/wordpress/wp-content/uploads/2010/08/overtake1-145x150.jpg" alt="overtake-1" width="145" height="150" />
    Lorum ipsum

    Any idea how to make it do what I want?

  2. roadie
    Member
    Posted 1 year ago #

    Fixed it. The align classes that WordPress uses, use float left and right which causes my problem. Delete the class clauses and put in a align="right" for the right hand image and that fixes it. Interestingly, also putting in an align="left" for the left hand image recreates my original problem.

    <img title="no-overtake-1" src="http://faustino.local/wordpress/wp-content/uploads/2010/08/no-overtake1-147x150.jpg" alt="no-overtake-1" width="147" height="150" /><img align="right" title="overtake-1" src="http://faustino.local/wordpress/wp-content/uploads/2010/08/overtake1-145x150.jpg" alt="overtake-1" width="145" height="150" />

    />
    Lorum ipsum

Topic Closed

This topic has been closed to new replies.

About this Topic