Image margin/padding in Pool

  • Hey guys,

    I’m just playing with the css in Pool, and it seems that the image padding/margins don’t work properly. I haven’t touched any of the image styling, and the text wrapping around the images is way way to close. In the style file, padding and margins are both specified. What’s the deal?

    Thanks for your help!

  • Sample and what browser you are using please.

  • I’m looking at your site at the particular image and there is no margin or paddings on it in your CSS. the only img code it is using is

    border: 0pt none;

  • That’s true, but that’s for images in general. I don’t want to change that (and actually I tried changing it and it didn’t change the problem with the aligned images). What I want to change is right or left aligned images, where the text wraps around the image. This is what I’m having trouble with.. but I’m thinking that maybe it’s a browser quirk? Here is the img.alignright and img.alignleft code copied from the stylesheet.


    img.alignright {
    float: right;
    padding: 4px;
    margin: 0 0 2px 7px;
    display: inline;
    }

    img.alignleft {
    float: left;
    padding: 4px;
    margin: 0 7px 2px 0;
    display: inline;
    }

  • you have to add that to your image when you add it to the post

    img class=”alignleft”

    you’ve got img align=”left”

    that’s incorrect.

  • ah, ok. i was using the standard wordpress code from their editor, which i guess applies the align=left. you’re totally right.

    thanks!

    :)

  • The topic ‘Image margin/padding in Pool’ is closed to new replies.