WordPress.org

Support

Support » Themes and Templates » [Resolved] Images in posts: Position problem

[Resolved] Images in posts: Position problem

Viewing 4 replies - 1 through 4 (of 4 total)
  • You’ll have to asign align left/right to a picture when you want text to float around it.

    If that’s not the case you probably want to check your style.css for padding on that img class.

    Hope this helps.

    I have aligned the picture.
    As I said, it works in other themes.
    And there is no padding on the image, should it be? How?

    No, a picture must not have padding or margin. But for floating text around a picture it better have at least one of them. It depends.

    In your style.css (or whatever it is named) it should be something like this:

    img.alignleft {
    margin: 0px 10px 10px 0px;
    padding: 0px;
    display: inline;
    float: left;
    }

    Thanks Indent, this worked great!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Images in posts: Position problem’ is closed to new replies.
Skip to toolbar