Support » Themes and Templates » padding for images doesn’t work

padding for images doesn’t work

  • cburell


    I’m using Cutline 3-column, and the image padding worked until I installed (then uninstalled and deleted) some plugins.

    My code lists align=”right” height=”202″ hspace=”9″ vspace=”9″ width=”269″, for example, but the hspace and vspace padding don’t exist (when viewed on Firefox 2.0).

    Any suggestions would be greatly appreciated. I’ve already tried editing Cutline’s stylesheet, but that didn’t help with the image formatting in posts.

    Thanks to any Good Sam out there.

Viewing 2 replies - 1 through 2 (of 2 total)
  • hspace and vspace aren’t used anymore. try replacing those with padding=”9px”

    But it looks like this is inline code on a php page? Personally, I’d take it out of the php and add this to the stylesheet instead:

    img {border:none;

    this would take the border off all your images
    take off any default margins
    and add 9pixels of padding to images.



    Actually, it’s the code left by the image formatting button of the RTE plugin I’m using in WP.

    You’ve given me a lead, so let me see if I can figure it out from here.

    (I tried adding the code to my template’s stylesheet, but don’t know enough CSS yet to know where to put it, etc, so that will have to wait 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘padding for images doesn’t work’ is closed to new replies.