Forums

Managing images and text on the page (3 posts)

  1. gandrew55
    Member
    Posted 2 years ago #

    I'm uploading images and related text just fine, but don't know the xhtml commands to provide WHITE SPACE where I want it before I upload the next image...it looks ok in the Post Editor, but when I publish the text has moved around on me...
    here's an example that I posted today, you'll see what I mean:

    Any help much appreciated!!

    Andrew

  2. dbmartin
    Member
    Posted 2 years ago #

    It's because the images are being floated to the left, and the text that follows each image isn't enough to push the next image below the preceding one.

    The easiest solution would be to wrap the image and its corresponding text in a div with a class of "clearfloat".

    For example:

    <div class="clearfloat">
    	<div id="attachment_292" class="wp-caption alignleft" style="width: 160px"></div>
    	THE REST OF THE TEXT IS HERE
    	<p>Ang has written a number of excellent how-to books on photography. This one is no exception, comprehensive in scope, attractively laid out and presented. From image creation to printing.  $24.95</p>
    </div>
  3. gandrew55
    Member
    Posted 2 years ago #

    Sweet!!!!
    Thanks VERY, VERY much!!.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.