WordPress.org

Ready to get started?Download WordPress

Forums

Unable to Wrap Text with Multiple Paragraphs (2 posts)

  1. mortega
    Member
    Posted 7 years ago #

    I had posted about this before and go no response. I have tried playing with the CSS and have been unable to attain the desired output.

    I want to float an image on the right (or left) and have the text wrap around it. For some reason, only one paragraph of text wraps while the following paragraph is pushed down. See example here:

    http://mattortega.com/2007/06/12/giulianis-12-points-for-failure/

    Here's my relevant CSS:

    .post_content img {
            border: none;
    }
    
    .post_content img.centered {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    }
    
    .post_content img.right {
    	padding: 4px;
    	margin: 0 0 2px 7px;
    	display: inline;
            align: right;
    }
    
    .post_content img.left {
    	padding: 4px;
    	margin: 0 7px 2px 0;
    	display: inline;
    }
    
    .post_content .alignright {
    	float: right;
    }
    
    .post_content .alignleft {
    	float: left;
    }
  2. Anonymous
    Unregistered
    Posted 6 years ago #

    Mortega,

    Did you ever find a solution to this problem? I am having the same issue and cannot find the problem.

Topic Closed

This topic has been closed to new replies.

About this Topic