Image margin/padding in Pool

  • Author
    Posts
  • #78676

    plutoniclove
    Member

    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!

    #78835

    drmike
    Member

    Sample and what browser you are using please.

    #78856

    plutoniclove
    Member
    #79182

    kristin
    Member

    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;

    #79185

    plutoniclove
    Member

    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;
    }

    #79186

    kristin
    Member

    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.

    #79194

    plutoniclove
    Member

    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.