WordPress.org

Support

Support » How-To and Troubleshooting » Alignment of images

Alignment of images

  • FCGrabo

    @fcgrabo

    I’m running WordPress 2.6.2 with the Cutline 3-column split theme and it’s working quite nicely. There’s just one quirk that I’ve been living with for quite a while.

    Each time I insert an image into a post, I must go to the HTML pane and delete the word “align” from the alignleft, aligncenter or alignright in the image coding.

    My stylesheet contains the following (if this is what I’m looking for:)

    .entry img.left { padding: 3px; margin: 0.5em 15px 0.5em 0; border: 3px double #bbb; float: left; clear: left; }

    .entry img.right { padding: 3px; margin: 0.5em 0 0.5em 15px; border: 3px double #bbb; float: right; clear: right; }

    .entry img.center { display: block; padding: 3px; margin: 0 auto 1.5em auto; border: 3px double #bbb; float: none; clear: both; }

    .entry img.off { padding: 0 !important; border: none !important; }

    .entry img.stack { clear: none !important; }

    Is there a way to alter the stylesheet so I don’t have to delete the characters for every image in every post?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Alignment of images’ is closed to new replies.
Skip to toolbar