Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Text not wrapping around image

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #37875
    BryGuy
    Member

    I’m still messing around with my new site, and I can’t seem to get the post excerpt text to wrap around image.

    Example: http://www.bornsquishy.com, look at the 2nd & 3rd posts and you’ll notice that the excerpt text appears below the image, as apposed to around it.

    #102110
    TheDoc
    Member

    You don’t have any floated elements.

    You’ll need to float the thumbnail div to the left.

    #102117
    BryGuy
    Member

    Weird thing is that I do have float elements in my CSS:

    .thumbnail {
    float: left;
    }

    .thumbnail img {
    float: left;
    margin: 4px 16px 0 0;
    }

    Not sure why it’s not using them.

    #102118
    TheDoc
    Member

    It’s all being commented out because of this:

    /*
    
    .post-date {
    background: url(images/splat.png) no-repeat;
    width: 100%;
    padding: 0 0 20px 0;
    margin-left: -30px;
    overflow: visible;
    line-height: 22px;
    font-size: 14px;
    color: #78A6B5;
    }
    /

    You haven’t closed the comment */

    #102119
    BryGuy
    Member

    OMG….. now I feel really foolish. Thanks once again doc.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.