WordPress.org

Support

Support » Themes and Templates » image layout – spilling over post area

image layout – spilling over post area

  • Hi… I have uploaded an image to a post via the “Add media” image uploader. The image is aligned to one side and the text fills in around it.

    I have a problem when my post is very short… the image “spills over” the post area. I am looking for a solution other than adding line breaks to lengthen the post area to encompass the image…

    Is there a CSS tag for this? Right now my theme has a class for the images with the alignment in the “float” property (e.g., “float: left;”)

    Thanks much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • read this one…

    you can do the same thing to rectify this issue too.

    Your post is too long,right?
    The first is to add you post content,then the image will not spill over.
    The other way is to use some JavaScript to control the post’s height.

    Your post is too long,right?
    The first is to add you post content,then the image will not spill over.
    The other way is to use some JavaScript to control the post’s height.

    Javascript huh? why if you can use css to do a better job?

    Javascript huh? why if you can use css to do a better job?

    I agree, but you must think this can be fit most the browses, and JavaScript can do this while CSS not.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘image layout – spilling over post area’ is closed to new replies.
Skip to toolbar