ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Formatting issue when images are in a posted article

January 07, 2009 2:10pm

Subscribe [2]
  • #1 / Jan 07, 2009 2:10pm

    havanese

    19 posts

    Can someone please help me figure out what is wrong with this article.

    This is how it looks from the index page

    http://www.randyandgerri.com (look at the post for Jan. 02)

    and from the comment page

    http://www.randyandgerri.com/index.php/weblog/comments/not_a_good_start_for_2009/

    This always happens when I include an image in an article.

    If the article has no images then it looks fine (see this example)

    http://www.randyandgerri.com/index.php/weblog/comments/dumbest_call_of_the_year/

  • #2 / Jan 07, 2009 4:36pm

    box-head

    177 posts

    I’ve had a quick look at the source code and am I right in thinking the photos are floated left?

    If that’s the case it means that anything after it (unless “cleared”) will float up to the right hand side.

    What you need is this

    
    
    

    and put it right before your

    <div class="comments>

    Hopefully that will sort it. If not we’ll work our way through.

  • #3 / Jan 07, 2009 4:52pm

    havanese

    19 posts

    That did the trick.

    I would give you my first born, but he isn’t potty trained yet

    Thanks for the help

  • #4 / Jan 07, 2009 4:54pm

    box-head

    177 posts

    My pleasure!
    Glad I could be of assistance.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases