WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Image float/text wrap/box breaking problem (4 posts)

  1. spacedude
    Member
    Posted 8 years ago #

    Hey,

    I've created some CSS tags with "float: right" etc, like in the Codex example, for aligning images in my posts. The problem, though, is that when images appear on the front page, and there isn't enough text, the image "breaks" the entry box and goes into the post below it. It looks bad :[

    I did find an example of a "clear" tag somewhere, but it has to go after all images in a post, and if you have a post with more than one image and a <more> tag between the two, it won't help you with the top image, which will still break the entry box on the front page.

    Any ideas? I'd like to get this working, cause images without wrapping looks pretty bad.

  2. spacedude
    Member
    Posted 8 years ago #

    nobody? i know someone must have experienced this problem before, its quite major.

  3. Mark (podz)
    Support Maven
    Posted 8 years ago #

    It's probably the 'more' tag that is causing problems as I had multiple images and text wrap in this entry:
    http://www.tamba2.org.uk/T2/archives/2004/08/29/reading/
    (and since then I've broken the css there ... oops!)

    It is the clearer you need though.

  4. spacedude
    Member
    Posted 8 years ago #

    thanks dude.

    yeah it only happens with the more tag... like if the more tag is between two images in a post.

    so for now i'll just work around it.

    otherwise, your clearer tag works great. thanks man.

Topic Closed

This topic has been closed to new replies.

About this Topic