[resolved] Images in posts: Position problem (5 posts)

  1. miniCarl
    Posted 6 years ago #

    Alright, I got a little problem with inserting pictures in my posts, however i think the problem lies in my theme, since this problem does not occur when i tried using another theme.

    Here's what it looks like when I insert a picture in the editor:

    Alright, looks pretty good, but here's what happends on my blog:

    How did that happen? =(

  2. Indent
    Posted 6 years ago #

    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.

  3. miniCarl
    Posted 6 years ago #

    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?

  4. Indent
    Posted 6 years ago #

    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;
  5. miniCarl
    Posted 6 years ago #

    Thanks Indent, this worked great!

Topic Closed

This topic has been closed to new replies.

About this Topic