WordPress.org

Support

Support » How-To and Troubleshooting » (small) Image alignment problem

(small) Image alignment problem

  • How can I make sure there is a little whitespace between images and text in my blog. At the moment the text starts directly next to the image, but I want a little space in between. Ofcourse I can add a border to every image, but what can I change in the css to make this happen automatically?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try margin, e.g.

    img { margin: 1em; }

    or

    img { margin-right: 1em; } /* etc. */

    This is really more of a CSS question than a WordPress one, though!

    I use the free Faststone Image Viewer to resize images and to place a 10 px border around the resized images

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘(small) Image alignment problem’ is closed to new replies.