1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WTF does my wordpress site screw up the images!

Discussion in 'Blogging' started by software248, May 13, 2011.

  1. software248

    software248 Regular Member

    Joined:
    Feb 15, 2010
    Messages:
    286
    Likes Received:
    43
  2. Pekton

    Pekton Regular Member

    Joined:
    Nov 28, 2009
    Messages:
    250
    Likes Received:
    104
    Location:
    upstate ny
    The problem is that the pics are bigger than the text around them. Easy to fix though. Open the page in WP and change to source so you can see the html. At the end of each paragaph that is having the problem add
    Code:
    <br style="clear: both;" /> 
    after the closing
    Code:
    </p>
    so using your text as an example before it was
    Code:
    <div id="attachment_453" class="wp-caption alignleft" style="width: 160px;">
    <a rel="attachment wp-att-453" href="[URL="http://www.blackhatworld.com/blackhat-seo/view-source:http://howtotraindogsonline.com/5-harmful-human-foods-for-dogs/chocolate/"]http://howtotraindogsonline.com/5-harmful-human-foods-for-dogs/chocolate/[/URL]">
    <img class="size-thumbnail wp-image-453" title="chocolate" src="[URL="http://www.blackhatworld.com/blackhat-seo/view-source:http://howtotraindogsonline.com/wp-content/uploads/2011/05/chocolate-150x150.jpg"]http://howtotraindogsonline.com/wp-content/uploads/2011/05/chocolate-150x150.jpg[/URL]" alt="chocolate" height="150" width="150"></a>
    <p class="wp-caption-text">chocolate</p></div> <p>3)Chocolate (or anything with cocoa in it): Coaco contain a specific chemical known as theobromide, this breaks down your dog?s heart, lungs, kidney and the central nervous system.</p>
    the fixed version is
    Code:
    <div id="attachment_453" class="wp-caption alignleft" style="width: 160px;"><a rel="attachment wp-att-453" href="[URL="http://www.blackhatworld.com/blackhat-seo/view-source:http://howtotraindogsonline.com/5-harmful-human-foods-for-dogs/chocolate/"]http://howtotraindogsonline.com/5-harmful-human-foods-for-dogs/chocolate/[/URL]"><img class="size-thumbnail wp-image-453" title="chocolate" src="[URL="http://www.blackhatworld.com/blackhat-seo/view-source:http://howtotraindogsonline.com/wp-content/uploads/2011/05/chocolate-150x150.jpg"]http://howtotraindogsonline.com/wp-content/uploads/2011/05/chocolate-150x150.jpg[/URL]" alt="chocolate" height="150" width="150"></a><p class="wp-caption-text">chocolate</p></div> <p>3)Chocolate (or anything with cocoa in it): Coaco contain 
    a specific chemical known as theobromide, this breaks down your
     dog?s heart, lungs, kidney and the central nervous system.</p>[COLOR=Cyan]<br style="clear: both;" /> [/COLOR]