How to stop text wrapping around an image using CSS style?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sydtom
    New Member
    • Dec 2006
    • 1

    How to stop text wrapping around an image using CSS style?

    I would like to stop text flowing underneath the thumbnail image on this page (GIF)

    View screenshot http://www.onepagereview.com/blog/wp...s/working2.gif

    Please help.

    This is the CSS applied to the 'thumb'

    .thumb
    {
    float: left;
    margin-left:5px;
    margin-top:4px;
    margin-right:25px;
    background-color: #fff;
    white-space:nowrap;
    }

    This is the HTML (WordPress)

    <div class="thumb">< a href="<?php the_permalink() ?>"><?php post_image(); ?></a></div>

    <div class="post" id="post-<?php the_ID(); ?>">
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanen t Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>

    ...etc

    Thank you
  • AricC
    Recognized Expert Top Contributor
    • Oct 2006
    • 1885

    #2
    Are you talking about the pic on the left hand side?

    Comment

    Working...